-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
51 lines (46 loc) · 1.91 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
#!/usr/bin/env python
#from distutils.core import setup
from setuptools import setup
import sys
import mtglib
if sys.version_info < (2, 7):
install_requires = ['lxml', 'argparse', 'cssselect']
else:
install_requires = ['lxml', 'cssselect']
setup(
name = 'mtg',
packages = ['mtglib'],
package_dir = {'mtglib': 'mtglib'},
scripts = ['bin/mtg'],
install_requires = install_requires,
version = mtglib.__version__,
description = 'Console-based access to the Gatherer Magic Card Database.',
author = mtglib.__author__,
author_email = '[email protected]',
license = 'MIT',
url = 'https://github.com/chigby/mtg',
keywords = ['mtg', 'magic', 'gatherer'],
classifiers = ['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Utilities',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Games/Entertainment'],
long_description = '''\
Console-based access to the Gatherer Magic Card Database
--------------------------------------------------------
Search for Magic cards from the command line. Limit your results by
card name, color, type, rules text, converted mana cost, power,
toughness, or expansion set. Rulings and flavor text also available.
Clean interface and output.
'''
)