1
1
#!/usr/bin/env python
2
2
3
3
PROJECT = 'virtualenvwrapper'
4
-
5
- # Change docs/sphinx/conf.py too!
6
4
VERSION = '3.5'
7
5
8
6
# Bootstrap installation of Distribute
30
28
standard_exclude_directories = ('.*' , 'CVS' , '_darcs' , './build' ,
31
29
'./dist' , 'EGG-INFO' , '*.egg-info' )
32
30
31
+
33
32
def find_package_data (
34
33
where = '.' , package = '' ,
35
34
exclude = standard_exclude ,
@@ -61,7 +60,7 @@ def find_package_data(
61
60
62
61
Note patterns use wildcards, or can be exact paths (including
63
62
leading ``./``), and all searching is case-insensitive.
64
-
63
+
65
64
This function is by Ian Bicking.
66
65
"""
67
66
@@ -106,42 +105,40 @@ def find_package_data(
106
105
break
107
106
if bad_name :
108
107
continue
109
- out .setdefault (package , []).append (prefix + name )
108
+ out .setdefault (package , []).append (prefix + name )
110
109
return out
111
110
################################################################################
112
-
111
+
113
112
114
113
setup (
115
- name = PROJECT ,
116
- version = VERSION ,
117
-
118
- description = 'Enhancements to virtualenv' ,
119
- long_description = long_description ,
120
-
121
- author = 'Doug Hellmann' ,
122
- author_email = '[email protected] ' ,
123
-
124
- url = 'http://www.doughellmann.com/projects/%s/' % PROJECT ,
125
- #download_url = 'http://www.doughellmann.com/downloads/%s-%s.tar.gz' % \
126
- # (PROJECT, VERSION),
127
-
128
- classifiers = [ 'Development Status :: 5 - Production/Stable' ,
129
- 'License :: OSI Approved :: MIT License' ,
130
- 'Programming Language :: Python' ,
131
- 'Programming Language :: Python :: 2' ,
132
- 'Programming Language :: Python :: 2.6' ,
133
- 'Programming Language :: Python :: 2.7' ,
134
- 'Programming Language :: Python :: 3' ,
135
- 'Programming Language :: Python :: 3.2' ,
136
- 'Intended Audience :: Developers' ,
137
- 'Environment :: Console' ,
138
- ],
139
-
140
- platforms = ['Any' ],
141
-
142
- scripts = ['virtualenvwrapper.sh' ,
143
- 'virtualenvwrapper_lazy.sh' ,
144
- ],
114
+ name = PROJECT ,
115
+ version = VERSION ,
116
+
117
+ description = 'Enhancements to virtualenv' ,
118
+ long_description = long_description ,
119
+
120
+ author = 'Doug Hellmann' ,
121
+
122
+
123
+ url = 'http://www.doughellmann.com/projects/%s/' % PROJECT ,
124
+
125
+ classifiers = ['Development Status :: 5 - Production/Stable' ,
126
+ 'License :: OSI Approved :: MIT License' ,
127
+ 'Programming Language :: Python' ,
128
+ 'Programming Language :: Python :: 2' ,
129
+ 'Programming Language :: Python :: 2.6' ,
130
+ 'Programming Language :: Python :: 2.7' ,
131
+ 'Programming Language :: Python :: 3' ,
132
+ 'Programming Language :: Python :: 3.2' ,
133
+ 'Intended Audience :: Developers' ,
134
+ 'Environment :: Console' ,
135
+ ],
136
+
137
+ platforms = ['Any' ],
138
+
139
+ scripts = ['virtualenvwrapper.sh' ,
140
+ 'virtualenvwrapper_lazy.sh' ,
141
+ ],
145
142
146
143
provides = ['virtualenvwrapper' ,
147
144
'virtualenvwrapper.user_scripts' ,
@@ -152,18 +149,18 @@ def find_package_data(
152
149
'stevedore' ,
153
150
],
154
151
155
- namespace_packages = [ 'virtualenvwrapper' ],
156
- packages = find_packages (),
157
- include_package_data = True ,
152
+ namespace_packages = [ 'virtualenvwrapper' ],
153
+ packages = find_packages (),
154
+ include_package_data = True ,
158
155
# Scan the input for package information
159
- # to grab any data files (text, images, etc.)
156
+ # to grab any data files (text, images, etc.)
160
157
# associated with sub-packages.
161
- package_data = find_package_data (PROJECT ,
162
- package = PROJECT ,
163
- only_in_packages = False ,
164
- ),
158
+ package_data = find_package_data (PROJECT ,
159
+ package = PROJECT ,
160
+ only_in_packages = False ,
161
+ ),
165
162
166
- entry_points = {
163
+ entry_points = {
167
164
#'console_scripts': [ 'venvw_hook = virtualenvwrapper.hook_loader:main' ],
168
165
'virtualenvwrapper.initialize' : [
169
166
'user_scripts = virtualenvwrapper.user_scripts:initialize' ,
0 commit comments