Move to src directory (#6506)

This commit is contained in:
Nate Prewitt
2023-08-13 14:46:13 -07:00
committed by GitHub
parent e9fa2e2da3
commit d63e94f552
22 changed files with 11 additions and 14 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ test_requirements = [
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "requests", "__version__.py"), "r", "utf-8") as f:
with open(os.path.join(here, "src", "requests", "__version__.py"), "r", "utf-8") as f:
exec(f.read(), about)
with open("README.md", "r", "utf-8") as f:
@@ -92,7 +92,7 @@ setup(
url=about["__url__"],
packages=["requests"],
package_data={"": ["LICENSE", "NOTICE"]},
package_dir={"requests": "requests"},
package_dir={"": "src"},
include_package_data=True,
python_requires=">=3.7",
install_requires=requires,