forked from richard-better/pushbullet.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (44 loc) · 1.48 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
import os
import sys
from setuptools import setup
with open("./pushbullet/__version__.py") as version_file:
version = version_file.read().split("\"")[1]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
def read(fname):
try:
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
except IOError:
return ""
setup(
name = "pushbullet.py",
version = version,
author = "Richard Borcsik",
author_email = "[email protected]",
description = ("A simple python client for pushbullet.com"),
license = "MIT",
keywords = "push android pushbullet notification",
url = "https://github.com/randomchars/pushbullet.py",
download_url="https://github.com/randomchars/pushbullet.py/tarball/" + version,
packages=['pushbullet'],
long_description=read('readme.md'),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities"
],
install_requires=[
'requests>=1.0.0',
'python-magic',
'websocket-client',
]
)