Moved the source files to the "src" subdirectory.

This commit is contained in:
依瑪貓 2022-12-05 08:46:20 +08:00
parent 24c3b868e0
commit 3cef0d7009
65 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@ setuptools.setup(
long_description=long_description, long_description=long_description,
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
url="https://github.com/imacat/mia-accounting", url="https://github.com/imacat/mia-accounting",
packages=setuptools.find_packages(), packages=setuptools.find_packages(where="src"),
classifiers=[ classifiers=[
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
@ -39,4 +39,5 @@ setuptools.setup(
python_requires=">=3.6", python_requires=">=3.6",
install_requires=["django", "django-dirtyfields", "titlecase", install_requires=["django", "django-dirtyfields", "titlecase",
"django-decorator-include"], "django-decorator-include"],
package_dir={"": "src"},
) )