-
Notifications
You must be signed in to change notification settings - Fork 189
[v7r2] Fully support setuptools #4865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
b89ca28
Modify __init__.py to avoid conflicts with rel-v7r2
chrisburr 0bd3288
Fix setup.py installation
chrisburr c161106
PY3: Modernise various imports
chrisburr 009c7a9
PY3: Rename some scripts to have _ instead of - to ensure they're val…
chrisburr 6f21685
PY3: Add DIRACScript object and DIRAC's extension_metadata entrypoint
chrisburr b711435
PY3: Add entrypoints for dirac-info, dirac-proxy-init and dirac-proxy…
chrisburr df5bae4
Replace _ with - when creating script documentation
chrisburr 88d5a6e
PY3: Set DIRAC.__version__ using setuptools metadata
chrisburr 1fa9f79
Apply review comments
chrisburr 105d82a
Review comment
chrisburr 5a4cab5
Add documentation for new style scripts
chrisburr 65a1d99
Fix docs
chrisburr 5a248b7
Fix docs some more
chrisburr 35fa239
Fix docs text formatting
chrisburr 6505f58
Rename all scripts to use _ instead of -
chrisburr d5ec9ff
PY3: Convery most scripts to use DiracScript decorator
chrisburr 704dfa0
Fix filename in py3CheckDirs.txt
chrisburr 6567cc9
PY3: Update ComponentInstaller to account for _ in script names
chrisburr 850a3d5
Use global variables in some required places
chrisburr 780368e
Fix typo
chrisburr 6ba6fb7
PY3: Convert dirac-platform and add shell scripts to setup.cfg
chrisburr 88c6150
PY3: Convert tornado scripts to be setup.cfg compatible
chrisburr fa95a5c
Fix formatting
chrisburr f0392ea
Restore dirac-agent.py dirac-executor.py and dirac-service.py from in…
chrisburr 35931a0
Add deprecation notice to dirac-agent.py dirac-executor.py and dirac-…
chrisburr 29f6fa8
Improve console scripts documentation
chrisburr 3b627c7
Add setuptools_scm comment in pyproject.toml
chrisburr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,7 @@ | ||
| [build-system] | ||
|
chrisburr marked this conversation as resolved.
|
||
| requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| # Enable setuptools_scm to compute the version number from the most recent tag | ||
| # https://github.com/pypa/setuptools_scm/#pyprojecttoml-usage | ||
| [tool.setuptools_scm] | ||
|
fstagni marked this conversation as resolved.
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.