-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (38 loc) · 1.36 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
from setuptools import find_packages, setup
# PyPI only supports nicely-formatted README files in reStructuredText.
# Newsapps seems to prefer Markdown. Use a version of the pattern from
# https://coderwall.com/p/qawuyq/use-markdown-readme-s-in-python-modules
# to convert the Markdown README to rst if the pypandoc package is
# present.
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError, OSError):
long_description = open('README.md').read()
# Load the version from the version module
exec(open('sportsdirect/version.py').read())
setup(
name='sportsdirect',
version=__version__,
author=' Geoff Hing for the Chicago Tribune News Applications Team',
author_email='newsapps@tribune.com',
url='https://github.com/newsapps/python-sportsdirect',
description='Python API client library for the Sports Direct Inc. XML feeds',
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
install_requires=[
'requests',
'lxml',
'python-dateutil',
],
tests_require=[
'nose',
],
test_suite='nose.collector',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
)