Skip to content

Commit b35e9e7

Browse files
committed
chore(python): use new package standard
1 parent 7683468 commit b35e9e7

3 files changed

Lines changed: 73 additions & 52 deletions

File tree

pyproject.toml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "ioc"
7+
version = "0.0.16"
8+
description = "A small dependency injection container based on Symfony2 Dependency Component"
9+
readme = "README.txt"
10+
license = {file = "LICENSE"}
11+
authors = [
12+
{name = "Thomas Rabaix", email = "thomas.rabaix@gmail.com"}
13+
]
14+
maintainers = [
15+
{name = "Thomas Rabaix", email = "thomas.rabaix@gmail.com"}
16+
]
17+
requires-python = ">=3.6"
18+
dependencies = [
19+
"pyyaml",
20+
]
21+
keywords = ["dependency injection", "ioc", "container", "symfony"]
22+
classifiers = [
23+
"Development Status :: 4 - Beta",
24+
"Intended Audience :: Developers",
25+
"License :: OSI Approved :: Apache Software License",
26+
"Operating System :: OS Independent",
27+
"Programming Language :: Python :: 3",
28+
"Programming Language :: Python :: 3.6",
29+
"Programming Language :: Python :: 3.7",
30+
"Programming Language :: Python :: 3.8",
31+
"Programming Language :: Python :: 3.9",
32+
"Programming Language :: Python :: 3.10",
33+
"Programming Language :: Python :: 3.11",
34+
"Programming Language :: Python :: 3.12",
35+
"Topic :: Software Development :: Libraries :: Python Modules",
36+
"Topic :: Utilities",
37+
]
38+
39+
[project.urls]
40+
Homepage = "https://github.com/rande/python-simple-ioc"
41+
Repository = "https://github.com/rande/python-simple-ioc"
42+
Issues = "https://github.com/rande/python-simple-ioc/issues"
43+
44+
[project.optional-dependencies]
45+
dev = [
46+
"pytest>=6.0",
47+
]
48+
tornado = [
49+
"tornado",
50+
"werkzeug",
51+
]
52+
flask = [
53+
"flask",
54+
"werkzeug",
55+
]
56+
jinja2 = [
57+
"jinja2",
58+
]
59+
redis = [
60+
"redis",
61+
]
62+
twisted = [
63+
"twisted",
64+
]
65+
66+
[tool.setuptools]
67+
include-package-data = true
68+
69+
[tool.setuptools.packages.find]
70+
include = ["ioc*"]
71+
72+
[tool.setuptools.package-data]
73+
"*" = ["*.yml", "*.yaml", "*.html"]

setup.cfg

Lines changed: 0 additions & 7 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)