-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
39 lines (33 loc) · 1.05 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
#!/usr/bin/env python
import os
from setuptools import find_packages, setup
from polling2 import __version__
# consts
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, "README.md"), "r") as fh:
LONG_DESCRIPTION = fh.read()
with open(os.path.join(HERE, "test_requirements.txt")) as fp:
TEST_REQUIREMENTS = fp.read().split("\n")
setup(
name="polling2",
version=__version__,
author="Donal Mee",
author_email="[email protected]",
description="Updated polling utility with many configurable options",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/ddmee/polling2",
download_url="",
py_modules=["polling2"],
tests_require=TEST_REQUIREMENTS,
test_suite="tests",
setup_requires=[
"pytest-runner",
],
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)