forked from natea/collective.hostout
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
executable file
·73 lines (67 loc) · 2.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
##############################################################################
#
# Copyright (c) 2006 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
name = "collective.hostout"
setup(
name = name,
version = "1.1",
author = "Dylan Jay",
author_email = "[email protected]",
description = """standardized deployment of zc.buildout based applications with Fabric""",
license = "GPL",
keywords = "buildout, zc.buildout, fabric, deploy, deployment, server, plone, django, host, hosting",
classifiers = [
'Framework :: Buildout',
"Development Status :: 3 - Alpha",
"Topic :: Utilities",],
url='http://github.com/collective/'+name,
long_description=(
read('README.rst')
+ '\n' +
read('CHANGES.txt')
+ '\n'
),
packages = find_packages(),
include_package_data = True,
# data_files = [('.', ['*.txt'])],
# package_data = {'':('*.txt')},
namespace_packages = ['collective'],
install_requires = [
'zc.recipe.egg',
'setuptools',
# 'Fabric>=1.0',
'Fabric',
# 'docker-fabric',
# These need to be added to the python that buildout uses in order to build packages properly #TODO How to automate?
# 'setuptools_subversion',
# 'setuptools-git',
# 'socksproxy',
# 'collective.eggproxy',
],
extras_require={
'docker': [
'requests>=2.5.2',
'docker-py>=1.5.0',
'docker-map>=0.6.2', #>=0.3.0',
],
},
entry_points = {'zc.buildout': ['default = collective.hostout:Recipe',],
'console_scripts': ['hostout = collective.hostout.hostout:main'],
'fabric': ['fabfile = collective.hostout.fabfile']
},
zip_safe = False,
)