Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Commit

Permalink
use setuptoos/distibute for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
lackhove committed Jan 3, 2013
1 parent 0304c14 commit b7ccd02
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Empty file added gmusic_resolver/__init__.py
Empty file.
File renamed without changes.
File renamed without changes
Empty file.
4 changes: 2 additions & 2 deletions gmusic-resolver.py → gmusic_resolver/gmusic_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
18 changes: 18 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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.