forked from COVESA/vss-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (35 loc) · 1.57 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
from pathlib import Path
# Proposed versioning mechanism
#
# General: - Use 3 numbers only if needed, i.e. do not use X.Y.0
# - Master branch should by default always have a dev-version, except for released commits
#
# * During development (in master), use X.Y.devN, use N==0 as starting point, only increase N if needed for pypi
# reasons, like if a maintainer has pushed 4.0.dev0 to pypi, then update to 4.0.dev1
# * For release candidates use X.YrcN, use N==0 as starting point
# * If needed (for bigger functionality, dependencies, .., create pre-releases like 4.1a0
# * When working on patches just add a third number, like 4.1.1, 4.1.1.dev0, 4.1.1rc0 (if needed at all)
#
#
this_directory = Path(__file__).parent
long_description = (this_directory / "README-PYPI.md").read_text()
setup(
name='vss-tools',
description='COVESA Vehicle Signal Specification tooling.',
long_description=long_description,
long_description_content_type='text/markdown',
version='5.0.dev0',
url='https://github.com/COVESA/vss-tools',
license='Mozilla Public License 2.0',
packages=find_packages(exclude=('tests', 'contrib')),
scripts=['vspec2csv.py', 'vspec2x.py', 'vspec2franca.py', 'vspec2json.py', 'vspec2ddsidl.py',
'vspec2yaml.py', 'vspec2protobuf.py', 'vspec2graphql.py'],
python_requires='>=3.8',
install_requires=['pyyaml>=5.1', 'anytree>=2.8.0', 'deprecation>=2.1.0', 'graphql-core'],
tests_require=['pytest>=2.7.2'],
package_data={'vspec': [
'py.typed'
]},
)