forked from buckket/PyRfK
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
46 lines (43 loc) · 1.76 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
import os
from setuptools import setup
def find_packages(dir_):
packages = []
for _dir, subdirectories, files in os.walk(os.path.join(dir_, 'rfk')):
if '__init__.py' in files:
lib, fragment = _dir.split(os.sep, 1)
packages.append(fragment.replace(os.sep, '.'))
return packages
setup(
name='PyRfK',
version='0.1',
long_description=__doc__,
packages=find_packages('lib'),
package_dir={'': 'lib'},
include_package_data=True,
zip_safe=False,
entry_points={'console_scripts': ['rfk-werkzeug = rfk.app:main',
'rfk-collectstats = rfk.collectstats:main',
'rfk-geoipdbupdate = rfk.geoipdbupdate:main',
'rfk-eventdispatcher = rfk.eventdispatcher:main',
'rfk-xmpp-bot = rfk.xmpp_bot:main',
'rfk-liquidsoaphandler = rfk.liquidsoaphandler:main',
'rfk-liquidsoap = rfk.liquidsoapdaemon:main',
'rfk-userstats = rfk.userstats:main',
'rfk-setup = rfk.setup:main']},
install_requires=['Flask', 'Flask-Login', 'Flask-Babel',
'wtforms',
'pytz',
'passlib',
'bcrypt',
'pycountry',
'geoip2',
'postmarkup',
'progressbar',
'sqlalchemy',
'parsedatetime',
'icalendar',
'humanize',
'netaddr',
'chardet',
'lockfile']
)