-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python: package version is not dynamically taken from __version__
Close #551.
- Loading branch information
Showing
3 changed files
with
14 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
[project] | ||
name = "magika" | ||
version = "0.6.0-dev0" | ||
description = "A tool to determine the content type of a file with deep learning" | ||
authors = [ | ||
{author = "Magika Developers", email = "[email protected]"}, | ||
] | ||
readme = "README.md" | ||
license = "Apache-2.0" | ||
requires-python = ">=3.8" | ||
dynamic = ["version"] | ||
|
||
dependencies = [ | ||
"click>=8.1.7", | ||
|
@@ -33,6 +33,9 @@ dev-dependencies = [ | |
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.version] | ||
path = "src/magika/__init__.py" | ||
|
||
[tool.ruff.lint] | ||
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. | ||
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or | ||
|
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 |
---|---|---|
|
@@ -13,6 +13,9 @@ | |
# limitations under the License. | ||
|
||
|
||
__version__ = "0.6.0-dev0" | ||
|
||
|
||
import dotenv | ||
|
||
from magika import magika | ||
|
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