-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Python packaging files to use new best practices
Signed-off-by: Steffen Vogel <[email protected]>
- Loading branch information
Showing
3 changed files
with
64 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,52 @@ | ||
[tool.black] | ||
[project] | ||
name = "cimpy" | ||
version = "1.0.2" | ||
description = "Python package for import, modification and export of CIM grid data" | ||
authors = [ | ||
{name="Institute for Automation of Complex Power Systems"}, | ||
{name="OPAL-RT Technologies"} | ||
] | ||
readme = "README.md" | ||
keywords = ["cim", "cgmes"] | ||
|
||
dependencies = [ | ||
"lxml", | ||
"xmltodict", | ||
"chevron", | ||
] | ||
|
||
requires-python = ">=3.8" | ||
|
||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
|
||
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", | ||
|
||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11" | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://sogno.energy/cimpy/" | ||
Documentation = "https://sogno.energy/cimpy/" | ||
Repository = "https://github.com/sogno-platform/cimpy" | ||
Issues = "https://github.com/sogno-platform/cimpy/issues" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pytest", | ||
"pytest-check" | ||
] | ||
|
||
[build-system] | ||
requires = ["setuptools >= 61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
|
||
|
||
[tool.black] | ||
line-length = 120 |