based versions that are semver compatible. If a prerelease identifier is already present we'll bump ahead by adding `.plus.` and the number of subsequent commits. If its not, we'll bump the patch digit and call it `alpha.0` and add the remaining `.plus.` bit. This also changes the file names of the mpy zips to include "-mpy-" which should help space out two potentially confusing version strings (that of circuitpython and that of the library.)
22 lines
762 B
Python
22 lines
762 B
Python
#!/usr/bin/env python
|
|
|
|
from setuptools import setup
|
|
|
|
setup(name='circuitpython-build-tools',
|
|
use_scm_version=True,
|
|
setup_requires=["setuptools_scm"],
|
|
description='CircuitPython library build tools',
|
|
author='Scott Shawcroft',
|
|
author_email='scott@adafruit.com',
|
|
url='https://www.adafruit.com/',
|
|
packages=['circuitpython_build_tools',
|
|
'circuitpython_build_tools.scripts'],
|
|
package_data={'circuitpython_build_tools': ['data/mpy-cross-*']},
|
|
zip_safe=False,
|
|
python_requires='>=3.4',
|
|
install_requires=['Click', 'semver'],
|
|
entry_points='''
|
|
[console_scripts]
|
|
circuitpython-build-bundles=circuitpython_build_tools.scripts.build_bundles:build_bundles
|
|
'''
|
|
)
|