-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
44 lines (40 loc) · 1.48 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
import os
from setuptools import setup, find_packages
# for pip >= 10
try:
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
current_dir = os.path.dirname(os.path.realpath(__file__))
requirements_file = 'requirements.txt'
requirements_file_path = os.path.join(current_dir, requirements_file)
install_reqs = parse_requirements(requirements_file_path,session=False)
reqs = [str(ir.req) for ir in install_reqs]
setup(name='pyconcordion2',
version='0.15.1',
description="Concordion Python Port",
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst'), 'rU').read(),
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=["Topic :: Software Development :: Testing",
"License :: OSI Approved :: Apache Software License"],
keywords='concordion acceptance-test',
author='John Jiang',
author_email='[email protected]',
url='https://github.com/concordion/pyconcordion2',
license='Apache Software License',
packages=find_packages(),
package_data={
'pyconcordion2': [
'resources/*.css',
'resources/*.js',
],
},
include_package_data=True,
zip_safe=False,
install_requires=reqs,
tests_require=['mock'],
# test_suite='runtests.get_suite',
entry_points="""
# -*- Entry points: -*-
""",
)