def setup(cls) -> None:
"""Run setuptools.setup() with correct arguments."""
setuptools.setup(
name=cls.name, version=find_version(cls.name), description=cls.description,
long_description=parse_readme(), url=cls.url, download_url=cls.download_url,
author=cls.author, author_email=cls.author_email,
maintainer=cls.try_fields('maintainer', 'author'),
maintainer_email=cls.try_fields('maintainer_email', 'author_email'),
license=cls.license_str, classifiers=cls.classifiers, keywords=cls.keywords,
packages=find_packages(cls.root_directory), package_dir={'': cls.root_directory},
include_package_data=True,
package_data=cls.package_data, exclude_package_data=cls.exclude_package_data,
install_requires=parse_requirements(), extras_require=cls.extras_require,
python_requires=find_required_python_version(cls.classifiers),
entry_points=cls.entry_points, test_suite=cls.test_suite
)
评论列表
文章目录