diff options
author | Blaise Thompson <blaise@untzag.com> | 2019-11-09 20:01:55 -0600 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2019-11-09 20:01:55 -0600 |
commit | 4f1731772dd84a41ed0756ac3a7953c3d021b1cd (patch) | |
tree | a4cf51d3b742d1d10c0deaffa0eba48b1be486c3 /setup.py | |
parent | c99d2447b57d6e14a78013152a53bb4552a33bb7 (diff) |
version
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -0,0 +1,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", +) |