-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathsetup.py
60 lines (52 loc) · 1.56 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
57
58
59
60
# -*- coding: utf-8 -*-
import os
import sys
from distutils.core import setup
import turses
name = "turses"
requirements = [
"oauth2",
"urwid",
"tweepy",
]
test_requirements = list(requirements)
test_requirements.extend(["mock", "nose", "coverage",])
try:
long_description = open("README.rst").read() + "\n\n" + open("HISTORY.rst").read()
except IOError:
long_description = ""
# Publish Helper.
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(name="turses",
version=turses.version,
author="Alejandro Gómez",
author_email="[email protected]",
url="http://github.com/alejandrogomez/turses",
description="A Twitter client with a curses interface.",
long_description=long_description,
keywords="twitter client curses",
packages=[
"turses",
"turses.api",
],
package_data={'': ['LICENSE']},
include_package_data=True,
package_dir={
"turses": "turses"
},
scripts=["bin/turses"],
platforms=["linux"],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console :: Curses",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2.7",
"Topic :: Communications"
],
install_requires=requirements,
tests_require=test_requirements,)