forked from cheind/py-microdots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (26 loc) · 959 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
33
from setuptools import setup, find_packages
from pathlib import Path
THISDIR = Path(__file__).parent
def read_requirements(fname):
with open(THISDIR / "requirements" / fname, "r") as f:
return f.read().splitlines()
core_required = read_requirements("requirements.txt")
dev_required = read_requirements("dev-requirements.txt") + core_required
main_ns = {}
with open(THISDIR / "microdots" / "__version__.py") as ver_file:
exec(ver_file.read(), main_ns)
setup(
name="microdots",
version=main_ns["__version__"],
description="A modern Python library to work with Anoto dot patterns.",
author="Christoph Heindl",
url="https://github.com/cheind/py-microdots",
license="MIT",
install_requires=core_required,
packages=find_packages(".", include="microdots*"),
include_package_data=True,
keywords="speckle pattern coding anoto dot encode decode",
extras_require={
"dev": dev_required,
},
)