build: move package to src/ dir, update pyproject.toml
This commit is contained in:
		
							parent
							
								
									493b7c77ca
								
							
						
					
					
						commit
						749df597de
					
				
					 13 changed files with 24 additions and 14 deletions
				
			
		| 
						 | 
					@ -15,11 +15,21 @@ maintainers = [
 | 
				
			||||||
  {name = "Lance Edgar", email = "lance@wuttaproject.org"}
 | 
					  {name = "Lance Edgar", email = "lance@wuttaproject.org"}
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
classifiers = [
 | 
					classifiers = [
 | 
				
			||||||
        # TODO: remove this if you intend to publish your project
 | 
					        "Development Status :: 3 - Alpha",
 | 
				
			||||||
        # (it's here by default, to prevent accidental publishing)
 | 
					        "Environment :: Web Environment",
 | 
				
			||||||
        "Private :: Do Not Upload",
 | 
					        "Framework :: Pyramid",
 | 
				
			||||||
 | 
					        "Intended Audience :: Developers",
 | 
				
			||||||
 | 
					        "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
 | 
				
			||||||
 | 
					        "Natural Language :: English",
 | 
				
			||||||
 | 
					        "Programming Language :: Python",
 | 
				
			||||||
 | 
					        "Programming Language :: Python :: 3",
 | 
				
			||||||
 | 
					        "Programming Language :: Python :: 3.8",
 | 
				
			||||||
 | 
					        "Programming Language :: Python :: 3.9",
 | 
				
			||||||
 | 
					        "Programming Language :: Python :: 3.10",
 | 
				
			||||||
 | 
					        "Programming Language :: Python :: 3.11",
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
license = {text = "GNU General Public License v3"}
 | 
					license = {text = "GNU General Public License v3+"}
 | 
				
			||||||
 | 
					requires-python = ">= 3.8"
 | 
				
			||||||
dependencies = [
 | 
					dependencies = [
 | 
				
			||||||
        "psycopg2",
 | 
					        "psycopg2",
 | 
				
			||||||
        "WuttaWeb",
 | 
					        "WuttaWeb",
 | 
				
			||||||
| 
						 | 
					@ -35,17 +45,17 @@ dependencies = [
 | 
				
			||||||
"sideshow" = "sideshow.config:SideshowConfig"
 | 
					"sideshow" = "sideshow.config:SideshowConfig"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# [project.urls]
 | 
					[project.urls]
 | 
				
			||||||
# Homepage = "https://example.com/"
 | 
					Homepage = "https://wuttaproject.org/"
 | 
				
			||||||
# Repository = "https://github.com/example/sideshow"
 | 
					Repository = "https://forgejo.wuttaproject.org/wutta/sideshow"
 | 
				
			||||||
# Issues = "https://github.com/example/sideshow/issues"
 | 
					Issues = "https://forgejo.wuttaproject.org/wutta/sideshow/issues"
 | 
				
			||||||
# Changelog = "https://github.com/example/sideshow/blob/master/CHANGELOG.md"
 | 
					Changelog = "https://forgejo.wuttaproject.org/wutta/sideshow/src/branch/master/CHANGELOG.md"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# [tool.commitizen]
 | 
					[tool.commitizen]
 | 
				
			||||||
# version_provider = "pep621"
 | 
					version_provider = "pep621"
 | 
				
			||||||
# tag_format = "v$version"
 | 
					tag_format = "v$version"
 | 
				
			||||||
# update_changelog_on_bump = true
 | 
					update_changelog_on_bump = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[tool.hatch.build.targets.wheel]
 | 
					[tool.hatch.build.targets.wheel]
 | 
				
			||||||
packages = ["sideshow"]
 | 
					packages = ["src/sideshow"]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue