-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (37 loc) · 1.08 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
"""
setup.py - For Pypi installer.
Update package with the following commands:
$ python setup.py sdist bdist_wheel
$ twine check dist/*
$ twine upload --config-file .pypirc dist/*
If the "twine" command fails (after you're sure you installed it), use
$ python -m twine check dist/*
...etc...
"""
import pathlib
from setuptools import setup, find_packages
HERE = pathlib.Path(__file__).parent
VERSION = '0.1.9'
PACKAGE_NAME = 'csutils'
AUTHOR = 'Thomas J. Daley, J.D.'
AUTHOR_EMAIL = 'tom@powerdaley.com'
URL = 'https://github.com/tjdaley/csutils'
LICENSE = 'BSD-3-Clause License'
DESCRIPTION = 'Child Support Utilities'
LONG_DESCRIPTION = (HERE / "README.md").read_text()
LONG_DESC_TYPE = "text/markdown"
INSTALL_REQUIRES = [
'python_dateutil'
]
setup(name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
author=AUTHOR,
license=LICENSE,
author_email=AUTHOR_EMAIL,
url=URL,
install_requires=INSTALL_REQUIRES,
packages=find_packages()
)