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
|
#! /usr/bin/env python3
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
def read(fname):
return open(os.path.join(here, fname)).read()
with open(os.path.join(here, "shopdb", "VERSION")) as version_file:
version = version_file.read().strip()
extra_files = {"shopdb": ["VERSION"]}
setup(
name="shopdb",
packages=find_packages(),
package_data=extra_files,
python_requires=">=3.7",
install_requires=[],
extras_require={
"dev": ["black", "pre-commit", "pydocstyle"],
},
version=version,
author="Blaise Thompson",
author_email="bthompson@chem.wisc.edu",
)
|