File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 run : python -c "import sys; print(sys.version)"
4242 - name : Install sdist without optional dependencies
4343 run : pip install dist/*.tar.gz
44- - run : python -c 'import trx; print(trx._version .__version__)'
44+ - run : python -c 'import trx.version ; print(trx.version .__version__)'
4545 - name : Install pytest
4646 run : pip install pytest
4747 - name : Run tests
Original file line number Diff line number Diff line change @@ -85,15 +85,8 @@ tff_visualize_overlap = "trx.cli:visualize_cmd"
8585packages = [" trx" ]
8686include-package-data = true
8787
88- [tool .setuptools .dynamic ]
89- version = {attr = " trx._version.__version__" }
90-
9188[tool .setuptools_scm ]
92- write_to = " trx/_version.py"
93- write_to_template = """ \
94- \"\"\" Version file, automatically generated by setuptools_scm.\"\"\"
95- __version__ = "{version}"
96- """
89+ write_to = " trx/version.py"
9790fallback_version = " 0.0"
9891local_scheme = " no-local-version"
9992
You can’t perform that action at this time.
0 commit comments