-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
34 lines (25 loc) · 795 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
33
34
#!/usr/bin/env python
import functools
import os
from setuptools import find_packages, setup
def readme():
with open("README.rst") as f:
return f.read()
def reqs():
with open("requirements.txt") as f:
return f.readlines()
def version():
with open("pushbullet_cli/__version__.py") as f:
return f.read().split('"')[1]
setup(
name="pushbullet-cli",
description="Command line tool for controlling PushBullet",
long_description=readme(),
author="Gustavo Sampaio",
author_email="[email protected]",
url="https://github.com/GustavoKatel/pushbullet-cli",
version=version(),
packages=find_packages(exclude=["tests"]),
install_requires=reqs(),
entry_points={"console_scripts": ["pb = pushbullet_cli.app:main"]},
)