Convert Blender-Purge to a more generic Blender-Crawl Tool #42

Merged
Nick Alberelli merged 34 commits from feature/blender-crawl into main 2023-05-17 15:38:47 +02:00
Showing only changes of commit cfcc74f7f9 - Show all commits

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# TODO Put the default_scripts in /usr/share and adjust main Logic to accomodate
"""The setup script.""" """The setup script."""
from setuptools import setup, find_packages from setuptools import setup, find_packages
@ -7,8 +9,6 @@ from setuptools import setup, find_packages
with open("README.md") as readme_file: with open("README.md") as readme_file:
readme = readme_file.read() readme = readme_file.read()
with open("HISTORY.md") as history_file:
history = history_file.read()
requirements = [] requirements = []
@ -17,11 +17,11 @@ setup_requirements = []
test_requirements = [] test_requirements = []
setup( setup(
author="Paul Golter", author="Nick Alberelli",
author_email="paul@blender.org", author_email="nick@blender.org",
python_requires=">=3.5", python_requires=">=3.5",
classifiers=[ classifiers=[
"Development Status :: 2 - Pre-Alpha", "Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Natural Language :: English", "Natural Language :: English",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
@ -30,17 +30,17 @@ setup(
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
], ],
description="Command line tool to perform recursive purge of blend files in the console", description="Command line tool to perform recursive crawl blend files from the console",
install_requires=requirements, install_requires=requirements,
long_description=readme + "\n\n" + history, long_description=readme,
include_package_data=True, include_package_data=True,
keywords="blender_purge", keywords="blender_crawl",
name="blender_purge", name="blender_crawl",
packages=find_packages(include=["blender_purge", "blender_purge.*"]), packages=find_packages(include=["blender_crawl", "blender_crawl.*"]),
setup_requires=setup_requirements, setup_requires=setup_requirements,
test_suite="tests", test_suite="tests",
tests_require=test_requirements, tests_require=test_requirements,
version="0.1.0", version="0.1.0",
zip_safe=False, zip_safe=False,
entry_points={"console_scripts": ["bpurge = blender_purge.__main__:main"]}, entry_points={"console_scripts": ["blender_crawl = blender_crawl.__main__:main"]},
) )