/
setup.py
54 lines (45 loc) · 1.61 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
from setuptools import setup
with open('README.rst') as f:
readme = f.read()
with open('CHANGES.rst') as f:
changes = f.read()
def parse_requirements():
with open('requirements.txt') as req:
return [x.strip() for x in req.readlines()
if not x.startswith('-e') and
not x.startswith('git+') and
not x.startswith('https://')]
def parse_dependency_links():
with open('requirements.txt') as req:
return [x.strip() for x in req.readlines()
if x.startswith('https://')]
setup(name='purkinje',
version='0.1.10',
description='Test runner for py.test with web GUI',
long_description=readme + '\n\n' + changes,
author='Bernhard Biskup',
author_email='bbiskup@gmx.de',
url='https://github.com/bbiskup/purkinje',
package_dir={'purkinje': 'purkinje'},
packages=['purkinje'],
zip_safe=False,
include_package_data=True,
install_requires=parse_requirements(),
dependency_links=parse_dependency_links(),
entry_points={
'console_scripts': [
'purkinje = purkinje.purkinje:main'
]
},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Testing'
],
license='The MIT License (MIT)',
keywords='purkinje pytest testrunner websockets',
)