-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
38 lines (30 loc) · 1.18 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
import os
import sys
from pyreleaseplugin import CleanCommand, ReleaseCommand, PyTest
from setuptools import find_packages, setup, Command
def read(fname):
"""Utility function to read the README file into the long_description."""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
install_requires_list = ["twine==3.2.0"]
tests_require = ["pytest>=2.9"]
version_file = "pyreleaseplugin/_version.py"
with open(version_file) as fp:
exec(fp.read())
setup(
name="pyreleaseplugin",
version=__version__,
author="The Discovery Team",
author_email="[email protected]",
description=("A setuptools plugin for simplifying the release of Python modules"),
license="TBD",
url="https://github.com/socrata/python-release-plugin",
install_requires=install_requires_list,
tests_require=tests_require,
include_package_data=True,
packages=find_packages(exclude=["tests"]),
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Socrata",
"Topic :: Software Development :: Libraries :: Python Modules",
],
cmdclass={"test": PyTest, "clean": CleanCommand, "release": ReleaseCommand})