-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathsetup.py
93 lines (69 loc) · 2.27 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
"""Package configuration"""
import os
from setuptools import setup, find_packages
VERSION = "2.7.1"
README = """
pip-compile-multi
=================
Compile multiple requirements files to lock dependency versions.
Install
-------
.. code-block:: shell
pip install pip_compile_multi
Run
----
.. code-block:: shell
pip-compile-multi
Links
-----
* Documentation: https://pip-compile-multi.readthedocs.io/en/latest/
* Releases: https://pypi.python.org/pypi/pip-compile-multi
* Code: https://github.com/peterdemin/pip-compile-multi
* Issue tracker: https://github.com/peterdemin/pip-compile-multi/issues
"""
with open('HISTORY.rst', encoding='utf-8') as fp:
HISTORY = fp.read().replace('.. :changelog:', '')
with open(os.path.join('requirements', 'base.in'), encoding='utf-8') as fp:
REQUIREMENTS = list(fp)
CONSOLE_SCRIPTS = [
'pip-compile-multi = pipcompilemulti.cli_v1:cli',
]
if os.environ.get('PCM_ALPHA') == 'ON':
CONSOLE_SCRIPTS.append(
'requirements = pipcompilemulti.cli_v2:cli'
)
setup(
name='pip_compile_multi',
version=VERSION,
description="Compile multiple requirements files "
"to lock dependency versions",
long_description=README + '\n\n' + HISTORY,
author='Peter Demin',
author_email='[email protected]',
url='https://github.com/peterdemin/pip-compile-multi',
include_package_data=True,
packages=find_packages(exclude=['tests']),
install_requires=REQUIREMENTS,
python_requires='~=3.9',
license="MIT",
zip_safe=False,
keywords='pip-compile-multi',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Environment :: Console',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Utilities',
],
entry_points={
'console_scripts': CONSOLE_SCRIPTS,
},
setup_requires=['setuptools', 'wheel'],
)