forked from jbaker0428/Python-Octopart-API
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
42 lines (36 loc) · 1.04 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
from setuptools import setup
import os
import sys
if sys.version_info.major != 3:
raise Exception("Sorry this package only works with python3.")
setup(name='pyoctopart',
version='0.6.3',
description="Python library to connect to Octopart",
long_description_markdown_filename='README.md',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved',
'Operating System :: Unix',
],
keywords='download tv show',
author='Bernard `Guyzmo` Pratz',
author_email='[email protected]',
url='https://github.com/guyzmo/pyoctopart',
license='GPLv3',
packages=['pyoctopart'],
zip_safe=False,
setup_requires=['setuptools-markdown'],
install_requires=[
'pyoctopart',
'requests',
'setuptools',
],
)
if "install" in sys.argv:
print("""
Python Octopart API Library is now installed!
To start using it, call:
python3
>>> from pyoctopart.octopart import Octopart
>>> help(Octopart)
""")