-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
32 lines (29 loc) · 970 Bytes
/
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
import setuptools
import re
with open("README.md", "r") as fh:
long_description = fh.read()
with open("library.properties", "r") as fh:
content = fh.read()
version = re.search(r"version=([\d.]*)", content).group(1)
setuptools.setup(
name="camino",
version=version,
author="Nathan Wachholz",
author_email="camino@nathanwachholz.com",
description="A library for controlling an Arduino from Python over Serial",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/n-wach/camino",
packages=setuptools.find_packages(),
setup_requires=['setuptools_scm'],
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=[
'pyserial',
],
)