-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·48 lines (42 loc) · 1.15 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
46
47
48
#!/usr/bin/env python
import sys
## Without this, Flask complains that the .egg file
## is not a directory.
#sys.argv.append('--old-and-unmanageable')
from setuptools import setup, find_packages
# Get version from pkg index
from jukeberry import __version__
from jukeberry import __author__
from jukeberry import __maintainer__
from jukeberry import __url__
from jukeberry import __email__
from jukeberry import __doc__
from jukeberry import __shortdesc__
from jukeberry import __name__ as __packagename__
desc = __shortdesc__
long_desc = __doc__
requires = [
'Flask>=0.10.1',
'eyeD3>=0.7.5',
]
setup(name=__packagename__,
version=__version__,
description=desc,
long_description=long_desc,
author=__author__,
author_email=__email__,
url=__url__,
packages=find_packages(),
install_requires=requires,
include_package_data=True,
data_files=[
('/etc', ['config/jukeberry.conf']),
('/etc/init.d/', ['install/deb/jukeberry']),
('/etc/init/', ['install/deb/jukeberry.conf']),
],
entry_points={
'console_scripts': {
'start_jukeberry = jukeberry.server:main'
}
},
)