-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
executable file
·76 lines (71 loc) · 2.24 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
from setuptools import setup
import os
import proso.release
DIR = os.path.dirname(os.path.abspath(__file__))
VERSION = proso.release.VERSION
def parse_requirements(filename):
""" load requirements from a pip requirements file """
lineiter = (line.strip() for line in open(filename))
return [
line
for line in lineiter
if line and not line.startswith("#") and not line.startswith('git+')
]
setup(
name='proso-apps',
version=VERSION,
description='General library for applications in PROSO projects',
author='Adaptive Learning Group',
author_email='al@fi.muni.cz',
url='https://github.com/adaptive-learning/proso-apps',
namespace_packages=['proso', 'proso.django'],
include_package_data=True,
packages=[
'proso',
'proso.django',
'proso.models',
'proso_common',
'proso_common.management',
'proso_common.management.commands',
'proso_common.migrations',
'proso_concepts',
'proso_concepts.management',
'proso_concepts.management.commands',
'proso_concepts.migrations',
'proso_configab',
'proso_configab.management',
'proso_configab.management.commands',
'proso_configab.migrations',
'proso_feedback',
'proso_feedback.migrations',
'proso_flashcards',
'proso_flashcards.management',
'proso_flashcards.management.commands',
'proso_flashcards.migrations',
'proso_models',
'proso_models.management',
'proso_models.management.commands',
'proso_models.migrations',
'proso_subscription',
'proso_subscription.management',
'proso_subscription.management.commands',
'proso_subscription.migrations',
'proso_tasks',
'proso_tasks.management',
'proso_tasks.management.commands',
'proso_tasks.migrations',
'proso_user',
'proso_user.management',
'proso_user.management.commands',
'proso_user.migrations',
],
setup_requires=[
'Sphinx>=1.3',
'sphinxcontrib-napoleon>=0.5.0',
],
install_requires=parse_requirements(DIR + '/docs/requirements.txt') + [
'ipython',
'numpy',
],
license='MIT',
)