-
Notifications
You must be signed in to change notification settings - Fork 37
/
setup.py
63 lines (52 loc) · 1.73 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
'''
If we want to exclude the top level 'tests' from the build, change the line:
::
packages=find_packages(),
to
::
packages=find_packages(exclude=['tests.*', 'tests']),
'''
from __future__ import absolute_import
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'docs/readme-pypi.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='Figures',
version='0.4.4',
packages=find_packages(),
include_package_data=True,
license='MIT',
description='Reporting and data retrieval for Open edX',
long_description=README,
url='https://github.com/appsembler/figures',
author='Appsembler',
author_email='opensources@appsembler.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.8',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
entry_points={
'lms.djangoapp': [
'figures = figures.apps:FiguresConfig',
],
},
install_requires=[
'sqlparse >= 0.2.2', # This is the requirement specified by Django 2.2+
],
)