forked from peterdemin/pip-compile-multi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
71 lines (57 loc) · 1.93 KB
/
setup.py
File metadata and controls
71 lines (57 loc) · 1.93 KB
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
"""Package configuration"""
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = "1.3.3"
with open('README.rst') as fp:
README = fp.read()
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=['pipcompilemulti'],
install_requires=REQUIREMENTS,
license="MIT",
zip_safe=False,
keywords='pip-compile-multi',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Environment :: Console',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Utilities',
],
entry_points={
'console_scripts': CONSOLE_SCRIPTS,
},
)