/
pavement.py
77 lines (65 loc) · 1.58 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
import os
import sys
from paver.easy import *
from paver.setuputils import setup
from setuptools import find_packages
# import here packages only needed for development
try:
from paver.virtual import bootstrap
except:
pass
try:
from github.tools.task import *
except:
pass
version = "0.1.0"
long_description = open('README.rst', 'r').read()
classifiers = [
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
"Programming Language :: Python",
]
install_requires = [
'setuptools',
]
entry_points="""
# -*- Entry points: -*-
"""
setup(
name='GeoPaver',
version=version,
description='Helpers for building geo libs using paver',
long_description=long_description,
classifiers=classifiers,
keywords='',
author='Whit Morriss',
author_email='whit@opengeo.org',
url='',
license='BSD',
packages = find_packages(),
namespace_packages=[],
include_package_data=True,
test_suite='nose.collector',
zip_safe=False,
install_requires=install_requires,
entry_points=entry_points,
)
options(
virtualenv=Bunch(
script_name='bootstrap.py',
packages_to_install=[
'virtualenv',
'github-tools',
'Nose',
'setuptools_git'
]
),
sphinx=Bunch(
docroot='docs',
builddir='build',
sourcedir='source',
),
)
@task
@needs('generate_setup', 'minilib', 'setuptools.command.sdist')
def sdist():
"""Overrides sdist to make sure that our setup.py is generated."""