-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
44 lines (37 loc) · 1.22 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
from setuptools import setup, find_packages
def read_requirements(filename):
with open(filename) as f:
for line in f:
line = line.strip()
# Detect editable dependencies.
if line.startswith('-e'):
if '#egg=' not in line:
raise Exception("Editable deps must have #egg=<name> fragment.")
line = line.split('#egg=')[1]
# Strip comments
if '#' in line:
line = line.rsplit('#', 1)[0]
if line:
yield line
setup(
name='manopozicija-lt',
version='0.1a1',
license='AGPLv3+',
packages=find_packages(),
include_package_data=True,
install_requires=list(read_requirements('requirements.in')),
entry_points={
'console_scripts': [
'manage = manopozicija.scripts.manage:main',
'initsettings = manopozicija.scripts.initsettings:main',
],
},
scripts=[
'manopozicija/scripts/wsgi.py',
],
classifiers=[
'Development Status :: 1 - Planning',
'Programming Language :: Python :: 3 :: Only',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
],
)