-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
45 lines (41 loc) · 1.32 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
import setuptools
from cyanobyte import __version__
"""
Run bundler:
$ python3 setup.py sdist
Install via Pip:
$ pip3 install dist/cyanobyte-<version>.tar.gz
Upload via twine:
$ twine check dist/*
$ twine upload dist/*
"""
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fh:
install_requires = [line.rstrip() for line in fh]
setuptools.setup(
name="cyanobyte",
version=__version__,
author="Google Inc.",
author_email="[email protected]",
description="A package that generates library files for a peripheral given an intermediary layer (YAML files)",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/google/cyanobyte",
packages=setuptools.find_packages(exclude=("test",)),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
install_requires=install_requires,
entry_points={
"console_scripts": [
"cyanobyte-codegen=cyanobyte.codegen:gen",
"cyanobyte-validator=cyanobyte.validator:click_validate"
],
},
setup_requires=['setuptools_scm'],
include_package_data = True,
)