Permalink
Browse files

use setuptoos/distibute for installation

  • Loading branch information...
1 parent 0304c14 commit b7ccd0221ff3c55b027ab2be7894cf09faea3a13 @crabmanX committed Jan 3, 2013
View
@@ -33,11 +33,9 @@ nosetests.xml
.mr.developer.cfg
.project
.pydevproject
-*.pyc
*.p
-*.e4p
-*.e5p
+*.e[45][pqt]
*.log
*~
-email.txt
-pass.txt
+username.txt
+*.bak
No changes.
File renamed without changes.
File renamed without changes
No changes.
@@ -283,9 +283,9 @@ def main():
# send config ui
try:
- uiFile = open("config.ui")
+ uiFile = open(os.path.join(os.path.dirname(__file__),'config.ui'))
configUi = uiFile.read()
- logoFile = open('gmusic-logo.png')
+ logoFile = open(os.path.join(os.path.dirname(__file__),'gmusic-logo.png'))
logo = logoFile.read()
except IOError:
logger.exception("reading ui files failed")
View
@@ -0,0 +1,18 @@
+from setuptools import *
+
+setup(
+ name = 'gmusic-resolver',
+ version = '0.1dev',
+ description = 'Tomahawk resolver for Google Music',
+ author = 'Kilian Lackhove',
+ author_email = 'kilian.lackhove@gmail.com',
+ license = 'GPLv2',
+ url = 'https://github.com/crabmanX/google-music-resolver',
+ packages = find_packages(),
+ package_data = {'': ['*.ui', '*.png']},
+ entry_points = {'console_scripts': ['gmusic-resolver = gmusic_resolver.gmusic_resolver:main']},
+ install_requires=[
+ "gmusicapi>= 2012.11.09",
+ "keyring >= 0.10"],
+ zip_safe = False,
+)

0 comments on commit b7ccd02

Please sign in to comment.