-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
46 lines (38 loc) · 1.26 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
46
import pathlib
import os
import re
import sys
from setuptools import setup, find_packages
if sys.version_info[:2] < (2, 6):
raise RuntimeError('Requires Python 2.6 or better')
with open(os.path.join(os.path.dirname(__file__), 'pydkron', '__init__.py')) as f:
VERSION = re.search("__version__ = '([^']+)'", f.read()).group(1)
INSTALL_REQUIRES = [
'requests',
'six'
]
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
setup(
name='pydkron',
version=VERSION,
description='pydkron: Python Client for Dkron',
long_description=README,
long_description_content_type="text/markdown",
keywords='dkron',
author='Tait Clarridge',
author_email='[email protected]',
url='https://github.com/oldmantaiter/pydkron',
download_url='https://github.com/oldmantaiter/pydkron/archive/'+VERSION+'.tar.gz',
license='MIT License',
packages=find_packages(exclude=['test']),
include_package_data=True,
install_requires=INSTALL_REQUIRES,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3'
]
)