Skip to content

Commit

Permalink
Added Setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fp12 committed Dec 30, 2016
1 parent bbdc881 commit e7774c3
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
from setuptools import setup, find_packages
import os


on_rtd = os.getenv('READTHEDOCS') == 'True'

requirements = []
with open('requirements.txt') as f:
requirements = f.read().splitlines()

if on_rtd:
requirements.append('sphinxcontrib-napoleon')

readme = ''
with open('README.md') as f:
readme = f.read()


setup(name='achallonge',
author='fp12',
url='https://github.com/fp12/achallonge',
version='0.5.0',
packages=find_packages(),
license='MIT',
description='A python library to use the Challonge API',
long_description=readme,
include_package_data=True,
install_requires=requirements,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
]
)

0 comments on commit e7774c3

Please sign in to comment.