Derive description, url, and namespace_packages from name
This commit is contained in:
parent
b5982a5472
commit
65b649869b
10
setup.py
10
setup.py
|
@ -17,16 +17,20 @@ sphinx = ['sphinx'] if needs_sphinx else []
|
|||
needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv)
|
||||
wheel = ['wheel'] if needs_wheel else []
|
||||
|
||||
name = 'skeleton'
|
||||
description = ''
|
||||
|
||||
setup_params = dict(
|
||||
name='skeleton',
|
||||
name=name,
|
||||
use_scm_version=True,
|
||||
author="Jason R. Coombs",
|
||||
author_email="jaraco@jaraco.com",
|
||||
description="skeleton",
|
||||
description=description or name,
|
||||
long_description=long_description,
|
||||
url="https://github.com/jaraco/skeleton",
|
||||
url="https://github.com/jaraco/" + name,
|
||||
packages=setuptools.find_packages(),
|
||||
include_package_data=True,
|
||||
namespace_packages=name.split('.')[:-1],
|
||||
install_requires=[
|
||||
],
|
||||
extras_require={
|
||||
|
|
Loading…
Reference in New Issue
Block a user