-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
56 lines (51 loc) · 1.37 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
47
48
49
50
51
52
53
54
55
56
# -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
from os.path import join as pathjoin
VERSION = '0.5.0'
LONG_DESCRIPTION = ''.join([
open(pathjoin('src', 'README')).read()])
CLASSIFIERS = [
'Environment :: Web Environment',
"Development Status :: 4 - Beta",
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet',
]
if sys.version_info < (3, 4):
unsupported = '''
pyrtm needs python >= 3.4
'''
print(unsupported)
sys.exit(0)
setup(
name='pyrtm',
version=VERSION,
description='Remember The Milk API',
long_description=LONG_DESCRIPTION,
classifiers=CLASSIFIERS,
author='Sridhar Ratnakumar',
author_email='[email protected]',
url='http://bitbucket.org/srid/pyrtm/',
license='MIT License',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=['requests'],
extras_require=dict(
test=[
'Nose',
'pep8',
],
),
test_suite='nose.collector',
tests_require=['Nose', 'pep8'],
entry_points="""
[console_scripts]
rtm_appsample = rtm.samples.app:main
""",
)