forked from forgetso/blockify
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·45 lines (38 loc) · 1.17 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
from os.path import dirname, join
from blockify.util import VERSION
from setuptools import setup, find_packages
def read(filename):
text = ""
try:
with open(join(dirname(__file__), filename)) as f:
text = f.read()
except Exception as e:
text = "{0}: {1}".format(e, filename)
return text
_name = "blockify"
_license = "MIT"
_description = read("README.md")
setup(
name=_name,
description="Mute spotify advertisements.",
long_description=_description,
keywords=["spotify", "music", "commercials", "adblock"],
version=VERSION,
license=_license,
url="https://github.com/serialoverflow/{}".format(_name),
download_url="https://github.com/serialoverflow/blockify/tarball/v{0}".format(VERSION),
author="Max Falk",
author_email="[email protected]",
packages=find_packages(),
package_data={_name: ["data/*"]},
include_package_data=True,
entry_points={
"console_scripts": [
"{0} = {0}.cli:main".format(_name),
"{0}-dbus = {0}.dbusclient:main".format(_name),
],
"gui_scripts": [
"{0}-ui = {0}.gui:main".format(_name),
],
}
)