Use git tag versioning for the Python project.
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -6,3 +6,4 @@ dist/ | |||||||
| passkey-auth.sqlite | passkey-auth.sqlite | ||||||
| /passkey/frontend-build | /passkey/frontend-build | ||||||
| /test_*.py | /test_*.py | ||||||
|  | passkey/_version.py | ||||||
|   | |||||||
| @@ -1,10 +1,10 @@ | |||||||
| [build-system] | [build-system] | ||||||
| requires = ["hatchling"] | requires = ["hatchling", "hatch-vcs"] | ||||||
| build-backend = "hatchling.build" | build-backend = "hatchling.build" | ||||||
|  |  | ||||||
| [project] | [project] | ||||||
| name = "passkey" | name = "passkey" | ||||||
| version = "0.2.0" | dynamic = ["version"] | ||||||
| description = "Passkey Authentication for Web Services" | description = "Passkey Authentication for Web Services" | ||||||
| authors = [ | authors = [ | ||||||
|     {name = "Leo Vasanko"}, |     {name = "Leo Vasanko"}, | ||||||
| @@ -21,6 +21,12 @@ dependencies = [ | |||||||
| ] | ] | ||||||
| requires-python = ">=3.10" | requires-python = ">=3.10" | ||||||
|  |  | ||||||
|  | [tool.hatch.version] | ||||||
|  | source = "vcs" | ||||||
|  |  | ||||||
|  | [tool.hatch.build.hooks.vcs] | ||||||
|  | version-file = "passkey/_version.py" | ||||||
|  |  | ||||||
| [project.optional-dependencies] | [project.optional-dependencies] | ||||||
| dev = [ | dev = [ | ||||||
|     "ruff>=0.1.0", |     "ruff>=0.1.0", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Leo Vasanko
					Leo Vasanko