-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
76 lines (64 loc) · 2.31 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
#!/bin/env/python
import os
import sys
from setuptools import find_packages, setup, Extension
from glob import glob
ANTLR_VERSION = '4.9.3'
with open("README.md", "r") as fh:
long_description = fh.read()
INSTALL_REQUIRES = ["antlr4-python3-runtime=={}".format(ANTLR_VERSION), 'chardet', 'mako', 'colorama', 'SQLAlchemy']
if (sys.version_info.major == 3 and sys.version_info.minor < 4) or (sys.version_info.minor < 3):
print("ERROR: pyDBC requires at least Python 3.4")
sys.exit(1)
setup(
name = 'pyvndb',
version = '0.1.0',
description = "Vehicle description file handling for Python",
long_description=long_description,
long_description_content_type="text/markdown",
author = 'Christoph Schueler',
author_email = '[email protected]',
url = 'https://www.github.com/Christoph2/pydbc',
packages = find_packages(),
install_requires = INSTALL_REQUIRES,
# setup_requires=["pytest-runner"],
tests_require=["pytest", "pytest-runner"],
extras_require={
"docs": [
'sphinxcontrib-napoleon', 'numpydoc'
],
"develop": [
"bumpversion"
]
},
entry_points = {
'console_scripts': [
'vndb_importer = pydbc.scripts.vndb_importer:main'
],
},
include_package_data = True,
package_data = {
"templates": glob('cgen/templates/*.tmpl'),
},
test_suite="pydbc.tests",
license='GPLv2',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)