-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
47 lines (39 loc) · 1.47 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
from setuptools import setup
import sys
import os
import imp
REQUIREMENTS = []
if sys.version_info < (2, 7):
REQUIREMENTS.append("argparse")
if sys.version_info < (2, 6):
REQUIREMENTS.append("simplejson")
path = (os.path.abspath(os.path.dirname(os.path.dirname(__file__))) +
os.sep + 'gh_favs')
gh_favs = imp.load_module('gh_favs', open(path), path,
('', 'r', imp.PY_SOURCE))
setup(
name = 'gh_favs',
version = gh_favs.__version__,
py_modules = ['gh_favs'],
author = 'Manuel Strehl',
author_email = 'boldewyn [at] googlemail.com',
url = 'http://boldewyn.github.com/gh_favs/',
description = 'A small script to clone and update all your watched GitHub projects',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Version Control',
'Topic :: System :: Archiving :: Backup',
'Topic :: System :: Archiving :: Mirroring',
'Topic :: Utilities',
],
install_requires = REQUIREMENTS
)