forked from Organice/djangocms-maps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·54 lines (48 loc) · 1.57 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Packaging configuration
"""
from os.path import abspath, dirname, join
from setuptools import setup
import djangocms_maps as package
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Communications',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
def read(*pathcomponents):
"""Read the contents of a file located relative to setup.py"""
with open(join(abspath(dirname(__file__)), *pathcomponents)) as thefile:
return thefile.read()
setup(
name='djangocms-maps',
version=package.__version__,
description=package.__doc__.strip(),
author=package.__author__,
author_email=package.__email__,
url=package.__url__,
packages=[
'djangocms_maps',
'djangocms_maps.migrations',
'djangocms_maps.templatetags',
],
license=package.__license__,
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
long_description='\n'.join([read('README.rst'), read('CHANGELOG.rst')]),
long_description_content_type='text/x-rst',
include_package_data=True,
zip_safe=False
)