This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
49 lines (47 loc) · 1.74 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
from land.copernicus.theme.config import PACKAGE_AUTHOR
from land.copernicus.theme.config import PACKAGE_AUTHOR_EMAIL
from land.copernicus.theme.config import PACKAGE_CLASSIFIERS
from land.copernicus.theme.config import PACKAGE_DESCRIPTION
from land.copernicus.theme.config import PACKAGE_DOCS_FOLDER
from land.copernicus.theme.config import PACKAGE_HISTORY_FILE
from land.copernicus.theme.config import PACKAGE_KEYWORDS
from land.copernicus.theme.config import PACKAGE_NAME
from land.copernicus.theme.config import PACKAGE_NAMESPACE_PACKAGES
from land.copernicus.theme.config import PACKAGE_README_FILE
from land.copernicus.theme.config import PACKAGE_URL
from land.copernicus.theme.config import PACKAGE_VERSION_FILE
from setuptools import setup, find_packages
import os
PATH = PACKAGE_NAME.split('.') + [PACKAGE_VERSION_FILE]
VERSION = open(os.path.join(*PATH)).read().strip()
setup(
name=PACKAGE_NAME,
version=VERSION,
description=PACKAGE_DESCRIPTION,
long_description=open(PACKAGE_README_FILE).read() + "\n" +
open(os.path.join(PACKAGE_DOCS_FOLDER, PACKAGE_HISTORY_FILE)).read(),
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=PACKAGE_CLASSIFIERS,
keywords=PACKAGE_KEYWORDS,
author=PACKAGE_AUTHOR,
author_email=PACKAGE_AUTHOR_EMAIL,
url=PACKAGE_URL,
license='GPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=PACKAGE_NAMESPACE_PACKAGES,
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'plone.app.theming',
'eea.sentry',
# -*- Extra requirements: -*-
],
extras_require={
'test': [
'plone.app.testing',
'plone.testing',
],
},
)