|
2 | 2 | requires = ["setuptools>=42", "wheel"] |
3 | 3 | build-backend = "setuptools.build_meta" |
4 | 4 |
|
5 | | -[tool.setuptools] |
6 | | -packages = {find = {where = ["src"]}} |
7 | | -package-dir = {"" = "src"} |
8 | | - |
9 | | -[tool.setuptools.dynamic] |
10 | | -version = {attr = "__version__.__version__"} |
11 | | -dependencies = {file = ["requirements.txt"]} |
12 | | - |
13 | | -[tool.setuptools.package-data] |
14 | | -"*" = ["py.typed"]kend = "setuptools.build_meta" |
15 | | - |
16 | 5 | [project] |
17 | 6 | name = "schema2code" |
18 | | -dynamic = ["version", "dependencies"] |
| 7 | +version = "0.1.0" |
19 | 8 | description = "A tool for converting JSON schema files to type definitions in various programming languages" |
20 | 9 | authors = [ |
21 | 10 | {name = "Scott Long", email = "longstoryscott@gmail.com"}, |
22 | 11 | ] |
23 | 12 | readme = "README.md" |
24 | | -license = {file = "LICENSE"} |
25 | | -requires-python = ">=3.8" |
26 | | -keywords = ["json-schema", "code-generation", "typescript", "go", "python", "csharp", "protobuf"] |
| 13 | +requires-python = ">=3.6" |
27 | 14 | classifiers = [ |
28 | | - "Development Status :: 4 - Beta", |
| 15 | + "Development Status :: 3 - Alpha", |
29 | 16 | "Intended Audience :: Developers", |
30 | | - "License :: OSI Approved :: MIT License", |
31 | 17 | "Programming Language :: Python :: 3", |
| 18 | + "Programming Language :: Python :: 3.6", |
| 19 | + "Programming Language :: Python :: 3.7", |
32 | 20 | "Programming Language :: Python :: 3.8", |
33 | 21 | "Programming Language :: Python :: 3.9", |
34 | | - "Programming Language :: Python :: 3.10", |
35 | | - "Programming Language :: Python :: 3.11", |
36 | | - "Programming Language :: Python :: 3.12", |
37 | | - "Topic :: Software Development :: Code Generators", |
38 | | - "Topic :: Software Development :: Libraries :: Python Modules", |
39 | 22 | ] |
| 23 | +dynamic = ["dependencies"] |
40 | 24 |
|
41 | 25 | [project.optional-dependencies] |
42 | 26 | dev = [ |
43 | | - "pytest>=7.0", |
44 | | - "pytest-cov>=4.0", |
45 | | - "black>=22.0", |
46 | | - "flake8>=5.0", |
47 | | - "mypy>=1.0", |
48 | | - "twine>=4.0", |
49 | | - "build>=0.10", |
50 | | -] |
51 | | -test = [ |
52 | | - "pytest>=7.0", |
53 | | - "pytest-cov>=4.0", |
| 27 | + "pytest", |
| 28 | + "pytest-cov", |
| 29 | + "black", |
| 30 | + "flake8", |
54 | 31 | ] |
55 | 32 |
|
56 | 33 | [project.scripts] |
57 | 34 | schema2code = "schema2code.main:main" |
58 | 35 |
|
59 | | -[project.urls] |
60 | | -"Homepage" = "https://github.com/LongStoryMedia/schema2code" |
61 | | -"Bug Reports" = "https://github.com/LongStoryMedia/schema2code/issues" |
62 | | -"Source" = "https://github.com/LongStoryMedia/schema2code" |
63 | | -"Documentation" = "https://github.com/LongStoryMedia/schema2code#readme" |
64 | | - |
65 | 36 | [tool.setuptools] |
66 | | -packages = {find = {where = ["src"], exclude = ["tests*"]}} |
67 | | -package-dir = {"", "src"} |
| 37 | +packages = {find = {}} |
68 | 38 |
|
69 | 39 | [tool.setuptools.dynamic] |
70 | | -version = {attr = "__version__.__version__"} |
71 | 40 | dependencies = {file = ["requirements.txt"]} |
72 | | - |
73 | | -[tool.setuptools.package-data] |
74 | | -"*" = ["py.typed"] |
0 commit comments