This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
executable file
·73 lines (63 loc) · 1.75 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
#!/usr/bin/env python
# Bootstrap installation of Distribute
import distribute_setup
distribute_setup.use_setuptools()
import sys
from setuptools import setup
def read_file(name):
"""
Read file content
"""
f = open(name)
try:
return f.read()
except IOError:
print("could not read %r" % name)
f.close()
PROJECT = 'skeleton'
VERSION = '0.6'
URL = 'http://dinoboff.github.com/skeleton'
AUTHOR = 'Damien Lebrun'
AUTHOR_EMAIL = 'dinoboff@gmail.com'
DESC = "Basic Template system for project skeleton."
LONG_DESC = read_file('README.rst') + '\n\n' + read_file('HISTORY.rst')
EXTRAS = {}
if sys.version_info > (3,):
EXTRAS['use_2to3'] = True
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=LONG_DESC,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license='BSD',
packages=['skeleton', 'skeleton.tests', 'skeleton.examples'],
test_suite='skeleton.tests',
include_package_data=True,
zip_safe=False,
install_requires=[],
extras_require={
'virtualenv-templates': [
'virtualenvwrapper>=2.1.1',
'virtualenvwrapper.project>=1.0'
],
},
entry_points={
'virtualenvwrapper.project.template': [
'package = skeleton.examples.basicpackage:virtualenv_warpper_hook',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
],
**EXTRAS
)