Skip to content

Commit 38903c1

Browse files
author
Kenneth Reitz
committed
setup.py
1 parent b26751f commit 38903c1

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

setup.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
4+
5+
import os
6+
import sys
7+
8+
from . import github3
9+
10+
try:
11+
from setuptools import setup
12+
except ImportError:
13+
from distutils.core import setup
14+
15+
16+
17+
if sys.argv[-1] == 'publish':
18+
os.system('python setup.py sdist upload')
19+
sys.exit()
20+
21+
required = ['requests>=0.8.6', 'python-dateutil==1.5']
22+
23+
24+
setup(
25+
name='github3',
26+
version=github3.__version__,
27+
description='Github API Wrapper.',
28+
long_description=open('README.rst').read(), # + '\n\n' +
29+
# open('HISTORY.rst').read(),
30+
author='Kenneth Reitz',
31+
author_email='[email protected]',
32+
url='https://github.com/kennethreitz/python-github3',
33+
packages=['github3'],
34+
package_data={'': ['LICENSE',]},
35+
include_package_data=True,
36+
install_requires=required,
37+
license='MIT',
38+
classifiers=(
39+
# 'Development Status :: 5 - Production/Stable',
40+
'Intended Audience :: Developers',
41+
'Natural Language :: English',
42+
'License :: OSI Approved :: MIT License',
43+
'Programming Language :: Python',
44+
'Programming Language :: Python :: 2.6',
45+
'Programming Language :: Python :: 2.7',
46+
# 'Programming Language :: Python :: 3.0',
47+
# 'Programming Language :: Python :: 3.1',
48+
),
49+
)

0 commit comments

Comments
 (0)