Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: python -c "import sys; print(sys.version)"
- name: Install sdist without optional dependencies
run: pip install dist/*.tar.gz
- run: python -c 'import trx; print(trx._version.__version__)'
- run: python -c 'import trx.version; print(trx.version.__version__)'
- name: Install pytest
run: pip install pytest
- name: Run tests
Expand Down
9 changes: 1 addition & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,8 @@ tff_visualize_overlap = "trx.cli:visualize_cmd"
packages = ["trx"]
include-package-data = true

[tool.setuptools.dynamic]
version = {attr = "trx._version.__version__"}

[tool.setuptools_scm]
write_to = "trx/_version.py"
write_to_template = """\
\"\"\"Version file, automatically generated by setuptools_scm.\"\"\"
__version__ = "{version}"
"""
write_to = "trx/version.py"
fallback_version = "0.0"
local_scheme = "no-local-version"

Expand Down