-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
57 lines (51 loc) · 1.58 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
from setuptools import setup, find_packages
import os
version = '1.0a3'
def read(*pargs):
path = os.path.join(*pargs)
return open(path,'r').read()
def long_desc():
base_path = "collective/socialpublisher/"
contents = [
read("README.rst"),
read(base_path,'tests',"MANAGER.txt"),
read(base_path, "TODO.txt"),
read("docs", "HISTORY.txt"),
read("docs", "CREDITS.txt"),
]
return '\n'.join(contents)
setup(name='collective.socialpublisher',
version=version,
description="Manage and automate social publishing on Plone sites",
long_description=long_desc(),
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Plone",
"Framework :: Plone :: 4.2",
"Programming Language :: Python",
],
keywords='',
author='Simone Orsi [simahawk]',
author_email='[email protected]',
url='https://github.com/simahawk/collective.socialpublisher',
license='GPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['collective'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
# -*- Extra requirements: -*-
'collective.twitter.accounts',
'tweepy',
'plone.app.registry',
],
extras_require={'test': ['plone.app.testing']},
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
""",
)