-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
57 lines (45 loc) · 1.7 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
import os
import sys
from setuptools import setup
# we'll import stuff from the source tree, let's ensure is on the sys path
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
import tox_pipenv
with open('README.rst') as readme:
long_description = readme.read()
with open('HISTORY.rst') as history:
history_txt = history.read()
_version = tox_pipenv.__version__
requirements = [
'tox>=3.0.0',
'pipenv>=2018.05.18',
]
def main():
setup(
name='tox-pipenv',
description='A pipenv plugin for tox',
long_description=long_description + '\n\n' + history_txt,
long_description_content_type='text/x-rst',
version=_version,
url='https://github.com/tox-dev/tox-pipenv',
license='MIT',
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
author='Anthony Shaw',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
'Programming Language :: Python',
],
packages=['tox_pipenv', ],
py_modules=['tox_pipenv'],
install_requires=[requirements],
entry_points={'tox': ['pipenv = tox_pipenv.plugin']},
tests_require=['pytest','pytest-mock']
)
if __name__ == '__main__':
main()