Skip to content

Instantly share code, notes, and snippets.

@Julien00859
Last active August 4, 2023 23:27
Show Gist options
  • Save Julien00859/28dbe93db110aa55323c6b366e7c7fc5 to your computer and use it in GitHub Desktop.
Save Julien00859/28dbe93db110aa55323c6b366e7c7fc5 to your computer and use it in GitHub Desktop.
pyproject sample
# src-layout
# replace the many <module>!
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "<module>"
version = "0.0.1"
description = ""
readme = "README.md"
requires-python = ">=3.8"
license = { file="LICENSE" }
authors = [
{ name="Julien Castiaux", email="[email protected]" },
]
keywords = [
]
classifiers = [
#"Development Status :: 1 - Planning",
#"Development Status :: 2 - Pre-Alpha",
#"Development Status :: 3 - Alpha",
#"Development Status :: 4 - Beta",
#"Development Status :: 5 - Production/Stable",
#"Development Status :: 6 - Mature",
#"Development Status :: 7 - Inactive",
#"Environment :: Console",
#"Environment :: Console :: Curses",
#"Environment :: No Input/Output (Daemon)",
#"Environment :: Web Environment",
#"Environment :: X11 Applications",
#"Framework :: aiohttp",
#"Framework :: AnyIO",
#"Framework :: Bottle",
#"Framework :: Django",
#"Framework :: FastAPI",
#"Framework :: Flask",
#"Framework :: Odoo",
#"Framework :: Trio",
#"Intended Audience :: Customer Service",
#"Intended Audience :: Developers",
#"Intended Audience :: Education",
#"Intended Audience :: End Users/Desktop",
#"Intended Audience :: Financial and Insurance Industry",
#"Intended Audience :: Healthcare Industry",
#"Intended Audience :: Information Technology",
#"Intended Audience :: Legal Industry",
#"Intended Audience :: Manufacturing",
#"Intended Audience :: Other Audience",
#"Intended Audience :: Religion",
#"Intended Audience :: Science/Research",
#"Intended Audience :: System Administrators",
#"Intended Audience :: Telecommunications Industry",
#"License :: Other/Proprietary License",
#"License :: OSI Approved :: Apache Software License",
#"License :: OSI Approved :: BSD License",
#"License :: OSI Approved :: BSD License",
#"License :: OSI Approved :: Common Development and Distribution License 1.0 (CDDL-1.0)",
#"License :: OSI Approved :: Eclipse Public License 2.0 (EPL-2.0)",
#"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
#"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
#"License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)",
#"License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)",
#"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
#"License :: OSI Approved :: MIT License",
#"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
#"License :: Public Domain",
#"Natural Language :: English",
#"Natural Language :: French",
#"Operating System :: Android",
#"Operating System :: MacOS",
#"Operating System :: Microsoft :: Windows",
#"Operating System :: OS Independent",
#"Operating System :: POSIX",
#"Operating System :: POSIX :: Linux",
#"Programming Language :: C",
#"Programming Language :: Cython",
#"Programming Language :: Python :: 3",
#"Programming Language :: Python :: Implementation :: PyPy",
# Too many topics to be listed
#"Typing :: Stubs Only",
#"Typing :: Typed",
]
dependencies = [
]
[project.optional-dependencies]
dev = [
]
[project.urls]
# Download =
# Homepage =
# Repository =
# Changelog =
# Documentation =
# Bug Tracker =
# Funding =
[project.scripts]
#<module> = "<module>.__main__:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"<module>.data" = ["*"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment