-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update installation, fix some warning move to src layout (#93)
- I have transitioned from setup.py to pyproject.toml . #89 - Changed the layout from flat to source. [See here for advantages](https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/) - Updated the installation description in the README.md - Fixed a couple of deprecation and future warnings, reported in #91 --------- Co-authored-by: Julian Belina <[email protected]>
- Loading branch information
1 parent
fc0a9d4
commit c46fbd3
Showing
25 changed files
with
171 additions
and
133 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
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
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
[build-system] | ||
requires = ["setuptools>=64.0.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
|
||
[project] | ||
name = "tsam" | ||
version = "2.3.6" | ||
description = "Time series aggregation module (tsam) to create typical periods" | ||
authors = [ | ||
{ name = "Leander Kotzur", email = "[email protected]" }, | ||
{ name = "Maximilian Hoffmann", email = "[email protected]" }, | ||
] | ||
maintainers = [ | ||
{name = "Julian Belina", email = "[email protected]"} | ||
] | ||
license = { file = "LICENSE.txt" } | ||
keywords = ["clustering", "optimization"] | ||
requires-python = ">=3.9,<3.13" | ||
readme = "README.md" | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: End Users/Desktop", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Natural Language :: English", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dynamic = ["dependencies", "optional-dependencies"] | ||
|
||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = ["requirements.txt"]} | ||
optional-dependencies = {dev = { file = ["requirements_dev.txt"] }} | ||
|
||
|
||
#Configureation options | ||
# https://docs.pytest.org/en/7.1.x/reference/reference.html#configuration-options | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["test"] # Sets the path where to look for tests | ||
pythonpath =["test"] # Sets the path which should be prepended to pythonpath relative to the root folder | ||
console_output_style = "count" | ||
|
||
|
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,8 +1,6 @@ | ||
name: tsam | ||
name: tsam_env | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python>=3.9,<3.13 | ||
- pip | ||
- pip: | ||
- -r requirements.txt |
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,8 +1,7 @@ | ||
-r requirements.txt | ||
|
||
# Testing | ||
pytest | ||
pytest-cov | ||
codecov | ||
|
||
# Documentation | ||
sphinx | ||
|
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.