-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (56 loc) · 1.5 KB
/
setup.py
File metadata and controls
63 lines (56 loc) · 1.5 KB
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
#!/usr/bin/env python
# coding: utf-8
import platform
from setuptools import find_packages, setup
from cms import VERSION
DEPENDENCIES = [
'python-magic',
'requests',
'Pillow',
'sorl-thumbnail',
'Jinja2>=2.10',
'beautifulsoup4',
'django>=2.2,<=3.2',
'django-watson',
'django-reversion',
'django-jinja>=2.7.0',
]
if platform.python_implementation() == 'PyPy':
DEPENDENCIES.append('psycopg2cffi')
else:
DEPENDENCIES.append('psycopg2')
setup(
name='onespacemedia-cms',
version='.'.join(str(n) for n in VERSION),
url='https://github.com/onespacemedia/cms',
author='Onespacemedia',
author_email='developers@onespacemedia.com',
license='BSD',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
description='CMS used by Onespacemedia',
install_requires=DEPENDENCIES,
extras_require={
'usertools': ['django-usertools'],
'testing': [
'pytest>=3.6',
'pytest-cov',
'pytest-django',
'pytest-xdist',
# / Project template
'coveralls',
'geoip2',
],
'geoip': ['geoip2']
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
],
)