-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
83 lines (77 loc) · 2.56 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
71
72
73
74
75
76
77
78
79
80
81
82
83
# -*- coding: utf-8 -*-
"""
This module contains the tool of pcp.contenttypes
"""
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
version = '1.0'
long_description = (
read('README.txt')
+ '\n' +
'Change history\n'
'**************\n'
+ '\n' +
read('CHANGES.txt')
+ '\n' +
'Detailed Documentation\n'
'**********************\n'
+ '\n' +
read('src', 'pcp', 'contenttypes', 'README.txt')
+ '\n' +
'Contributors\n'
'************\n'
+ '\n' +
read('CONTRIBUTORS.txt')
+ '\n' +
'Download\n'
'********\n')
tests_require = ['zope.testing', 'plone.testing', 'plone.app.testing', 'robotsuite',
'robotframework-selenium2library', 'Products.PloneTestCase', 'mock']
setup(name='pcp.contenttypes',
version=version,
description="Content types for the Project Coordination Portal application",
long_description=long_description,
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
'Framework :: Plone',
'Intended Audience :: Developers',
],
keywords='Plone EUDAT Project Coordination',
author='Raphael Ritz',
author_email='[email protected]',
url='https://github.com/raphael-ritz/eudat.pcp.site',
license='gpl',
packages=find_packages('src'),
package_dir = {'': 'src'},
namespace_packages=['pcp'],
include_package_data=True,
zip_safe=False,
install_requires=['setuptools',
'pint',
'Products.ATExtensions',
'Products.ATBackRef',
'Products.MasterSelectWidget',
'Products.ATVocabularyManager',
'collective.handleclient',
'collective.monkeypatcher',
'incf.countryutils',
'semantic_version',
'uwosh.pfg.d2c',
'furl',
'zopyx.plone.persistentlogger',
'plone.formwidget.datetime',
],
tests_require=tests_require,
extras_require=dict(test=tests_require),
test_suite='pcp.contenttypes.tests.test_docs.test_suite',
entry_points="""
# -*- entry_points -*-
[z3c.autoinclude.plugin]
target = plone
""",
setup_requires=["PasteScript"],
paster_plugins=["templer.localcommands"],
)