-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
61 lines (54 loc) · 1.87 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
61
#!/usr/bin/env python
from setuptools import setup
from glob import glob
from pir import pir_version
import sys
__author__ = "Daniel McDonald"
__copyright__ = "Copyright 2014"
__credits__ = ["Daniel McDonald"]
__license__ = "BSD"
__version__ = pir_version.mmm
__maintainer__ = "Daniel McDonald"
__email__ = "mcdonadt@colorado.edu"
try:
import bipy
except ImportError:
raise ImportError("pir requires bipy!")
# PyPI's list of classifiers can be found here:
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classes = """
Development Status :: 4 - Beta
License :: OSI Approved :: BSD License
Topic :: Multimedia :: Graphics :: Presentation
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: Implementation :: CPython
Operating System :: OS Independent
Operating System :: POSIX
Operating System :: POSIX :: Linux
Operating System :: MacOS :: MacOS X
"""
classifiers = [s.strip() for s in classes.split('\n') if s]
# Verify Python version
ver = '.'.join(map(str, [sys.version_info.major, sys.version_info.minor]))
if ver not in ['2.7']:
sys.stderr.write("Only Python >=2.7 and <3.0 is supported.")
sys.exit(1)
long_description = """Powerpointing Is Rude (PIR) is a light weight, terminal based slide presenter."""
setup(name='pir',
version=__version__,
license=__license__,
description='PIR: Powerpointing Is Rude',
long_description=long_description,
author=__maintainer__,
author_email=__email__,
maintainer=__maintainer__,
maintainer_email=__email__,
url='https://github.com/wasade/powerpointing-is-rude',
packages=['pir'],
scripts=glob('scripts/pir*'),
install_requires=["Pygments == 1.6",
"pyqi == 0.3.1",
"pyfiglet == 0.6.1"],
classifiers=classifiers
)