Move main source code into src subdirectory

This avoids certain problems related to the entire repo root appearing
on the import path, usually when running Python/pip from the repo root
or when using an editable install.
This commit is contained in:
dgelessus committed 2021-11-21 19:15:51 +01:00
1 parent b1e5e7c96e
commit f891a6ee00
11 files changed
+4 -4

No files matched your search

+4 -4
View File
@@ -43,15 +43,15 @@ keywords =
zip_safe = False
python_requires = >=3.6
packages = find:
package_dir =
= src
[options.package_data]
rsrcfork =
py.typed
[options.packages.find]
include =
rsrcfork
rsrcfork.*
where = src
[options.entry_points]
console_scripts =
@@ -77,7 +77,7 @@ blank-lines-indent = always
indent-tabs-def = 1
[mypy]
files=rsrcfork/**/*.py
files=src/**/*.py
python_version = 3.6
disallow_untyped_calls = True
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.