forked from peterdemin/pip-compile-multi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
95 lines (71 loc) · 2.33 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
94
95
"""Package configuration"""
import os
from setuptools import setup, find_packages
VERSION = "2.4.6"
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') as fp:
HISTORY = fp.read().replace('.. :changelog:', '')
with open(os.path.join('requirements', 'base.in')) 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='peterdemin@gmail.com',
url='https://github.com/peterdemin/pip-compile-multi',
include_package_data=True,
packages=find_packages(exclude=['tests']),
install_requires=REQUIREMENTS,
python_requires='~=3.6',
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',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Utilities',
],
entry_points={
'console_scripts': CONSOLE_SCRIPTS,
},
setup_requires=['setuptools', 'wheel'],
)