-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move basic Python configuration to the root of the repo. (#80)
After way too much trying to figure stuff out I realized: why not just put the `pyproject.toml` right at the root of the repo? This eliminates all the `#subdirectory=...` when doing `pip install`s and also makes `setuptools-scm` work right again. As a bonus, lots of tools now work without any additional configuration and we can just run them as-is. This moves the bare minimum files needed to the repo root: - `pyproject.toml` - `MANIFEST.in` and updates everything else to make that work right.
- Loading branch information
1 parent
fd6d2c2
commit e935e28
Showing
13 changed files
with
53 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
temp/ | ||
tmp/ | ||
**/__pycache__ | ||
**/*.egg-info | ||
build/ | ||
dist/ | ||
python-spec/src/somacore/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Python package manifest. We have to do this manually because otherwise | ||
# setuptools-scm will try to include literally everything in the repo | ||
# and we only want to include the Python-specific stuff in our build. | ||
|
||
global-exclude * | ||
include pyproject.toml | ||
include MANIFEST.in | ||
recursive-include python-spec/README.md | ||
recursive-include python-spec/src *.py py.typed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.