-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (35 loc) · 1.13 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
#!/usr/bin/env python
import sys
import distutils.core
from pip.download import PipSession
from pip.req import parse_requirements
from lifeloopweb import __version__
try:
import setuptools
except ImportError:
pass
def requires(path):
return [str(r.req) for r in parse_requirements(path, session=PipSession())
if r]
distutils.core.setup(
name="lifeloopweb",
version=__version__,
packages=["lifeloopweb"],
package_data={
"lifeloopweb": [],
},
author="LifeLoop.Live",
author_email="info@lifeloop.live",
url="https://lifeloop.live",
download_url="https://github.com/toneosa/lifeloopweb/releases",
license="https://github.com/toneosa/lifeloopweb/blob/master/LICENSE",
description="",
install_requires=requires("requirements.txt"),
entry_points={
"console_scripts": [
"lifeloop_shell = lifeloopweb.shell:main",
"lifeloop_flask_server = lifeloopweb.lifeloopweb_app:run_server",
"lifeloop_gunicorn_server = lifeloopweb.wsgi:run_server",
"lifeloop_db_manage = lifeloopweb.db.migrations.cli:main",
]}
)