This repository has been archived by the owner on Jul 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (59 loc) · 2.34 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
# -*- coding: utf-8 -*-
import sys
import os
from setuptools import find_packages, setup
from pyquicksetup import read_version, read_readme, default_cmdclass
#########
# settings
#########
project_var_name = "mathenjeu"
versionPython = "%s.%s" % (sys.version_info.major, sys.version_info.minor)
path = "Lib/site-packages/" + project_var_name
readme = 'README.rst'
history = "HISTORY.rst"
requirements = None
KEYWORDS = [project_var_name, 'Xavier Dupré', 'teaching', 'webapp']
DESCRIPTION = """Lectures about programming mostly in Python."""
CLASSIFIERS = [
'Programming Language :: Python :: %d' % sys.version_info[0],
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering',
'Topic :: Education',
'License :: OSI Approved :: MIT License',
'Development Status :: 5 - Production/Stable'
]
#######
# data
#######
packages = find_packages('src', exclude='src')
package_dir = {k: "src/" + k.replace(".", "/") for k in packages}
package_data = {project_var_name + ".apps.qcm.statics.css": ["*.css"],
project_var_name + ".apps.qcm.statics.js": ["*.js"],
project_var_name + ".apps.qcm.statics.img": ["*.png"],
project_var_name + ".apps.qcm.templates": ["*.html"],
project_var_name + ".apps.staticapp.statics.css": ["*.css"],
project_var_name + ".apps.staticapp.statics.js": ["*.js"],
project_var_name + ".apps.staticapp.statics.img": ["*.png"],
project_var_name + ".apps.staticapp.templates": ["*.html"],
}
setup(
name=project_var_name,
version=read_version(__file__, project_var_name, subfolder='src'),
author='Xavier Dupré',
author_email='xavier.dupre@gmail.com',
license="MIT",
url="http://www.xavierdupre.fr/app/mathenjeu/helpsphinx/index.html",
download_url="https://github.com/sdpython/mathenjeu/",
description=DESCRIPTION,
long_description=read_readme(__file__),
cmdclass=default_cmdclass(),
keywords=KEYWORDS,
classifiers=CLASSIFIERS,
packages=packages,
package_dir=package_dir,
package_data=package_data,
setup_requires=["pyquicksetup"],
install_requires=['aiofiles', 'itsdangerous', 'jinja2', 'lightmlrestapi',
'numpy', 'pandas', 'python-multipart',
'starlette>=0.11.0', 'hypercorn', 'pyopenssl'],
)