-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
32 lines (28 loc) · 942 Bytes
/
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
#!/usr/bin/env python
import os, sys
from setuptools import setup
from giantbomb import giantbomb
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name = "giantbomb",
version = giantbomb.__version__,
author = giantbomb.__author__,
author_email = "xupisco@gmail.com",
description = ("A Python wrapper for the Giantbomb API."),
license = "MIT",
keywords = "giantbomb api wrapper",
url = "https://github.com/xupisco/GiantBomb",
packages=['giantbomb'],
long_description=read('README.md'),
classifiers=[
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
],
)