This repository has been archived by the owner on Jul 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
/
Copy pathsetup.py
executable file
·50 lines (42 loc) · 1.46 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
#!/usr/bin/env python
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()
install_reqs = ["requests>=1.0.0", "python-magic", "websocket-client>=0.42.1"]
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 B",
author_email="[email protected]",
description=("A simple python client for pushbullet.com"),
license="MIT",
keywords="push android pushbullet notification",
url="https://github.com/rbrcsk/pushbullet.py",
download_url="https://github.com/rbrcsk/pushbullet.py/tarball/" + version,
packages=["pushbullet"],
long_description=read("readme.rst"),
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=install_reqs,
)