forked from fschulze/mr.developer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
75 lines (68 loc) · 2.28 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
from setuptools import setup
import os
import sys
version = '1.25'
install_requires = [
'setuptools',
'zc.buildout',
]
tests_require = [
'mock',
'mr.developer.addon']
try:
import xml.etree
xml.etree # shutup pyflakes
except ImportError:
install_requires.append('elementtree')
try:
import argparse
argparse # shutup pyflakes
except ImportError:
install_requires.append('argparse')
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(name='mr.developer',
version=version,
description="A zc.buildout extension to ease the development of large projects with lots of packages.",
long_description=open("README.rst").read() + "\n\n" +
open(os.path.join("docs", "HELP.txt")).read() +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Framework :: Buildout",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='',
author='Florian Schulze',
author_email='[email protected]',
url='http://github.com/fschulze/mr.developer',
license='BSD',
packages=['mr', 'mr.developer', 'mr.developer.tests'],
package_dir={'': 'src'},
namespace_packages=['mr', 'mr.developer'],
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=tests_require,
extras_require={'test': tests_require},
test_suite='mr.developer.tests',
entry_points="""
[console_scripts]
develop = mr.developer.develop:develop
[zc.buildout.extension]
default = mr.developer.extension:extension
[mr.developer.workingcopytypes]
svn = mr.developer.svn:SVNWorkingCopy
git = mr.developer.git:GitWorkingCopy
gitsvn = mr.developer.gitsvn:GitSVNWorkingCopy
hg = mr.developer.mercurial:MercurialWorkingCopy
bzr = mr.developer.bazaar:BazaarWorkingCopy
fs = mr.developer.filesystem:FilesystemWorkingCopy
cvs = mr.developer.cvs:CVSWorkingCopy
darcs = mr.developer.darcs:DarcsWorkingCopy
""",
**extra
)