2015-12-20 03:29:56 +00:00
|
|
|
#!/usr/bin/env python
|
2016-04-29 13:32:33 +00:00
|
|
|
|
|
|
|
# Project skeleton maintained at https://github.com/jaraco/skeleton
|
2015-12-20 03:29:56 +00:00
|
|
|
|
|
|
|
import io
|
|
|
|
import sys
|
|
|
|
|
|
|
|
import setuptools
|
|
|
|
|
|
|
|
with io.open('README.rst', encoding='utf-8') as readme:
|
|
|
|
long_description = readme.read()
|
|
|
|
|
2016-09-15 01:00:50 +00:00
|
|
|
needs_wheel = {'release', 'bdist_wheel', 'dists'}.intersection(sys.argv)
|
2015-12-20 03:29:56 +00:00
|
|
|
wheel = ['wheel'] if needs_wheel else []
|
|
|
|
|
2016-03-05 13:56:02 +00:00
|
|
|
name = 'skeleton'
|
|
|
|
description = ''
|
|
|
|
|
2015-12-20 03:29:56 +00:00
|
|
|
setup_params = dict(
|
2016-03-05 13:56:02 +00:00
|
|
|
name=name,
|
2015-12-20 03:29:56 +00:00
|
|
|
use_scm_version=True,
|
|
|
|
author="Jason R. Coombs",
|
|
|
|
author_email="jaraco@jaraco.com",
|
2016-03-05 13:56:02 +00:00
|
|
|
description=description or name,
|
2015-12-20 03:29:56 +00:00
|
|
|
long_description=long_description,
|
2016-03-05 13:56:02 +00:00
|
|
|
url="https://github.com/jaraco/" + name,
|
2015-12-20 03:29:56 +00:00
|
|
|
packages=setuptools.find_packages(),
|
|
|
|
include_package_data=True,
|
2016-03-05 13:56:02 +00:00
|
|
|
namespace_packages=name.split('.')[:-1],
|
2015-12-20 03:29:56 +00:00
|
|
|
install_requires=[
|
|
|
|
],
|
|
|
|
extras_require={
|
|
|
|
},
|
|
|
|
setup_requires=[
|
2016-10-24 14:07:33 +00:00
|
|
|
'setuptools_scm>=1.15.0',
|
2016-09-22 15:50:07 +00:00
|
|
|
] + wheel,
|
2015-12-20 03:29:56 +00:00
|
|
|
classifiers=[
|
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Programming Language :: Python :: 2.7",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
],
|
|
|
|
entry_points={
|
|
|
|
},
|
|
|
|
)
|
|
|
|
if __name__ == '__main__':
|
|
|
|
setuptools.setup(**setup_params)
|