192 return out |
192 return out |
193 DS._ok = _ok |
193 DS._ok = _ok |
194 except ImportError: |
194 except ImportError: |
195 pass |
195 pass |
196 |
196 |
197 def install(**kwargs): |
197 |
198 """setup entry point""" |
198 setup( |
199 packages = [modname] + get_packages(join(here, modname), modname) |
199 name=distname, |
200 kwargs['install_requires'] = install_requires |
200 version=version, |
201 kwargs['zip_safe'] = False |
201 license=license, |
202 kwargs['packages'] = packages |
202 url=web, |
203 kwargs['package_data'] = package_data |
203 description=description, |
204 return setup(name=distname, version=version, license=license, url=web, |
204 long_description=long_description, |
205 description=description, long_description=long_description, |
205 author=author, |
206 author=author, author_email=author_email, |
206 author_email=author_email, |
207 scripts=ensure_scripts(scripts), data_files=data_files, |
207 packages=[modname] + get_packages(join(here, modname), modname), |
208 cmdclass={'install_lib': MyInstallLib, |
208 package_data=package_data, |
209 'install_data': MyInstallData}, |
209 scripts=ensure_scripts(scripts), |
210 **kwargs |
210 data_files=data_files, |
211 ) |
211 install_requires=install_requires, |
212 |
212 cmdclass={'install_lib': MyInstallLib, |
213 if __name__ == '__main__' : |
213 'install_data': MyInstallData}, |
214 install() |
214 zip_safe=False, |
|
215 ) |