-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (63 loc) · 1.71 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
# -*- coding: utf-8 -*-
"""
This module contains the tool of oxford.homepage
"""
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
version = open(os.path.join("oxford", "homepage", "version.txt")).read().strip()
long_description = (
read(os.path.join('docs', 'README.txt'))
+ '\n' +
'Installing\n'
'**************\n'
+ '\n' +
read(os.path.join('docs', 'INSTALL.txt'))
+ '\n' +
'History\n'
'**********************\n'
+ '\n' +
read(os.path.join('docs', 'HISTORY.txt'))
+ '\n' +
'Contributors\n'
'************\n'
+ '\n' +
read(os.path.join('docs', 'CONTRIBUTORS.txt'))
+ '\n' +
'Download\n'
'********\n')
setup(name='oxford.homepage',
version=version,
description="Homepage content type with image rotation",
long_description=long_description,
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
'Framework :: Plone',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
],
keywords='',
author='',
author_email='',
url='http://svn.plone.org/svn/collective/',
license='GPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['oxford', ],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
],
extras_require = {
'test': [
'plone.app.testing',
]
},
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
""",
)