Revision 5adcc57e snf-webproject/setup.py
b/snf-webproject/setup.py | ||
---|---|---|
36 | 36 |
distribute_setup.use_setuptools() |
37 | 37 |
|
38 | 38 |
import os |
39 |
import sys |
|
39 | 40 |
|
40 | 41 |
from distutils.util import convert_path |
41 | 42 |
from fnmatch import fnmatchcase |
... | ... | |
49 | 50 |
VERSION = __version__ |
50 | 51 |
README = open(os.path.join(HERE, 'README')).read() |
51 | 52 |
CHANGES = open(os.path.join(HERE, 'Changelog')).read() |
52 |
SHORT_DESCRIPTION = 'Package short description' |
|
53 |
SHORT_DESCRIPTION = "Helper package to ease up the deployment of "\ |
|
54 |
" components." |
|
53 | 55 |
|
54 | 56 |
PACKAGES_ROOT = "." |
55 | 57 |
PACKAGES = find_packages(PACKAGES_ROOT) |
... | ... | |
73 | 75 |
# of replicating them: |
74 | 76 |
standard_exclude = ["*.py", "*.pyc", "*$py.class", "*~", ".*", "*.bak"] |
75 | 77 |
standard_exclude_directories = [ |
76 |
".*", "CVS", "_darcs", "./build", "./dist", "EGG-INFO", "*.egg-info", "snf-0.7" |
|
78 |
".*", "CVS", "_darcs", "./build", "./dist", "EGG-INFO", "*.egg-info", |
|
79 |
"snf-0.7" |
|
77 | 80 |
] |
78 | 81 |
|
79 | 82 |
# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org) |
... | ... | |
158 | 161 |
continue |
159 | 162 |
out.setdefault(package, []).append(prefix+name) |
160 | 163 |
return out |
164 |
|
|
161 | 165 |
setup( |
162 |
name = 'snf-webproject',
|
|
163 |
version = VERSION,
|
|
164 |
license = 'BSD',
|
|
165 |
url = 'http://code.grnet.gr/',
|
|
166 |
description = SHORT_DESCRIPTION,
|
|
167 |
long_description=README + '\n\n' + CHANGES,
|
|
168 |
classifiers = CLASSIFIERS,
|
|
169 |
|
|
170 |
author = 'Package author',
|
|
171 |
author_email = 'author@grnet.gr',
|
|
172 |
maintainer = 'Package maintainer',
|
|
173 |
maintainer_email = 'maintainer@grnet.gr',
|
|
174 |
|
|
175 |
namespace_packages = ['synnefo', 'synnefo.versions'],
|
|
176 |
packages = PACKAGES,
|
|
177 |
package_dir= {'': PACKAGES_ROOT},
|
|
178 |
include_package_data = True,
|
|
179 |
package_data = find_package_data('.'),
|
|
180 |
zip_safe = False,
|
|
181 |
|
|
182 |
install_requires = INSTALL_REQUIRES,
|
|
183 |
extras_require = EXTRAS_REQUIRES,
|
|
184 |
tests_require = TESTS_REQUIRES,
|
|
185 |
|
|
186 |
dependency_links = ['http://docs.dev.grnet.gr/pypi'],
|
|
187 |
|
|
188 |
entry_points = {
|
|
166 |
name='snf-webproject',
|
|
167 |
version=VERSION,
|
|
168 |
license='BSD',
|
|
169 |
url='http://www.synnefo.org/',
|
|
170 |
description=SHORT_DESCRIPTION,
|
|
171 |
long_description=README + '\n\n' + CHANGES, |
|
172 |
classifiers=CLASSIFIERS,
|
|
173 |
|
|
174 |
author='Synnefo development team',
|
|
175 |
author_email='synnefo-devel@googlegroups.com',
|
|
176 |
maintainer='Synnefo development team',
|
|
177 |
maintainer_email='synnefo-devel@googlegroups.com',
|
|
178 |
|
|
179 |
namespace_packages=['synnefo', 'synnefo.versions'],
|
|
180 |
packages=PACKAGES,
|
|
181 |
package_dir={'': PACKAGES_ROOT}, |
|
182 |
include_package_data=True,
|
|
183 |
package_data=find_package_data('.'),
|
|
184 |
zip_safe=False,
|
|
185 |
|
|
186 |
install_requires=INSTALL_REQUIRES,
|
|
187 |
extras_require=EXTRAS_REQUIRES,
|
|
188 |
tests_require=TESTS_REQUIRES,
|
|
189 |
|
|
190 |
dependency_links=['http://docs.dev.grnet.gr/pypi'],
|
|
191 |
|
|
192 |
entry_points={
|
|
189 | 193 |
'console_scripts': [ |
190 | 194 |
'snf-manage = synnefo.webproject.manage:main', |
191 | 195 |
], |
... | ... | |
194 | 198 |
] |
195 | 199 |
}, |
196 | 200 |
) |
197 |
|
Also available in: Unified diff