-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (43 loc) · 1.33 KB
/
setup.py
File metadata and controls
50 lines (43 loc) · 1.33 KB
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
import sys
from setuptools import setup, find_packages
import pygout
readme = open('README.rst', 'r').read()
DESCRIPTION = readme.split('\n')[0]
LONG_DESCRIPTION = readme
INSTALL_REQUIRES = [
'Pygments == 1.5',
'straight.plugin >= 1.3',
]
if sys.version_info < (2, 7):
INSTALL_REQUIRES.append('argparse >= 1.1')
if sys.version_info < (3, 2):
INSTALL_REQUIRES.append('configparser >= 3.2')
setup(
name = 'PygOut',
version = pygout.__version__,
url = 'http://github.com/alanbriolat/PygOut',
license = 'BSD License',
author = 'Alan Briolat, Helen M. Gray',
description = DESCRIPTION,
long_descrption = LONG_DESCRIPTION,
packages = find_packages(),
platforms = 'any',
install_requires = INSTALL_REQUIRES,
entry_points = {
'console_scripts': ['pygout = pygout.cmdline:main'],
},
setup_requires = [
# This makes "python setup.py nosetests" possible
'nose >= 1.1.2',
],
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
],
)