This repository has been archived by the owner on Dec 13, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpavement.py
87 lines (76 loc) · 2.22 KB
/
pavement.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
76
77
78
79
80
81
82
83
84
85
86
87
# -*- Import: -*-
from paver.easy import *
from paver.setuputils import setup
from setuptools import find_packages
try:
# Optional tasks, only needed for development
# -*- Optional import: -*-
from github.tools.task import *
import paver.doctools
import paver.virtual
import paver.misctasks
ALL_TASKS_LOADED = True
except ImportError, e:
info("some tasks could not not be imported.")
debug(str(e))
ALL_TASKS_LOADED = False
version = '0.50p1'
classifiers = [
# Get more strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 3 - Alpha",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
]
install_requires = [
# -*- Install requires: -*-
'setuptools',
]
entry_points="""
# -*- Entry points: -*-
"""
# compatible with distutils of python 2.3+ or later
setup(
name='terms',
version=version,
description='versioned terms',
long_description=open('README.md', 'r').read(),
classifiers=classifiers,
keywords='python library',
author='Christian Klein',
author_email='[email protected]',
url='http://hudora.github.com/terms/',
license='BSD',
packages = find_packages(exclude=['bootstrap', 'pavement',]),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points=entry_points,
)
options(
# -*- Paver options: -*-
minilib=Bunch(
extra_files=[
# -*- Minilib extra files: -*-
]
),
virtualenv=Bunch(
packages_to_install=[
# -*- Virtualenv packages to install: -*-
'github-tools',
"pkginfo",
"virtualenv"],
dest_dir='./virtual-env/',
install_paver=True,
script_name='bootstrap.py',
paver_command_line=None
),
)
options.setup.package_data=paver.setuputils.find_package_data(
'terms', package='terms', only_in_packages=False)
if ALL_TASKS_LOADED:
@task
@needs('generate_setup', 'minilib', 'setuptools.command.sdist')
def sdist():
"""Overrides sdist to make sure that our setup.py is generated."""