Let setuptools generate executables

This commit is contained in:
Stein Magnus Jodal 2013-04-01 12:52:53 +02:00
parent 1a9fea08a5
commit a4f8af048d
3 changed files with 4 additions and 10 deletions

View File

@ -1,5 +0,0 @@
#! /usr/bin/env python
if __name__ == '__main__':
from mopidy.__main__ import main
main()

View File

@ -1,5 +0,0 @@
#! /usr/bin/env python
if __name__ == '__main__':
from mopidy.scanner import main
main()

View File

@ -40,6 +40,10 @@ setup(
'unittest2',
],
entry_points={
b'console_scripts': [
'mopidy = mopidy.__main__:main',
'mopidy-scan = mopidy.scanner:main',
],
b'mopidy.extension': [],
},
classifiers=[