-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace implicit relative imports with absolute ones -> fix setup
- Loading branch information
Max Falk
committed
Oct 16, 2015
1 parent
1cbdf75
commit 5e70b0f
Showing
7 changed files
with
43 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
from blockify.gui import main | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
import logging | ||
import os | ||
|
||
import util | ||
from blockify import util | ||
|
||
|
||
log = logging.getLogger("list") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
from os.path import dirname, join | ||
from blockify.util import VERSION | ||
|
||
try: | ||
from setuptools import setup | ||
except ImportError: | ||
from distutils.core import setup | ||
|
||
from setuptools import setup, find_packages | ||
|
||
def read(filename): | ||
with open(join(dirname(__file__), filename)) as f: | ||
|
@@ -17,18 +13,18 @@ def read(filename): | |
|
||
|
||
setup( | ||
name=_name, | ||
description="Mute spotify advertisements.", | ||
long_description=read("README.md"), | ||
version=VERSION, | ||
license=_license, | ||
url="https://github.com/mikar/{}".format(_name), | ||
author="Max Demian", | ||
author_email="[email protected]", | ||
packages=[_name, _name + "/data"], | ||
package_data={_name + "/data": ["icon-*", "example_*"]}, | ||
name = _name, | ||
description = "Mute spotify advertisements.", | ||
long_description = read("README.md"), | ||
version = VERSION, | ||
license = _license, | ||
url = "https://github.com/mikar/{}".format(_name), | ||
author = "Max Falk", | ||
author_email = "[email protected]", | ||
packages = find_packages(), | ||
package_data = { _name : ['data/*']}, | ||
install_package_data=True, | ||
entry_points={ | ||
entry_points= { | ||
"console_scripts": [ | ||
"{0} = {0}.{0}:main".format(_name), | ||
"{0}-dbus = {0}.{0}dbus:main".format(_name), | ||
|