forked from SurveyMonkey/pyteamcity
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (36 loc) · 1.17 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
import os
from setuptools import setup
version = '0.0.1'
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
try:
import pypandoc
README = pypandoc.convert('README.md', 'rst')
CHANGES = pypandoc.convert('CHANGES.md', 'rst')
except:
README = read('README.md')
CHANGES = read('CHANGES.md')
setup(
name='pyteamcity',
version=version,
description='Use the TeamCity REST API from Python',
long_description='%s\n\n%s' % (README, CHANGES),
url='https://github.com/SurveyMonkey/pyteamcity',
author='Yotam Oron',
author_email='yotamoron@yahoo.com',
py_modules=['pyteamcity'],
zip_safe=False,
install_requires=['beautifulsoup4', 'requests'],
license='MIT',
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Natural Language :: English',
'Intended Audience :: Developers',
],
)