Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/python2-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install coveralls
pip install -e .
pip install -e .[dev]
- name: Test with mamba
run: |
mamba --enable-coverage
6 changes: 1 addition & 5 deletions .github/workflows/python3-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install coveralls
pip install -e .
pip install -e .[dev]
- name: Test with mamba
run: |
mamba --enable-coverage
4 changes: 0 additions & 4 deletions MANIFEST.in

This file was deleted.

66 changes: 66 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[build-system]
requires = ["hatchling>=1.8.0"]
build-backend = "hatchling.build"

[project]
name = "enerdata"
dynamic = ["version"]
description = "A set of energy models"
readme = "README.rst"
license = "MIT"
requires-python = ">=2.7"
authors = [
{ name = "GISCE-TI, S.L.", email = "devel@gisce.net" },
]
keywords = [
"Energy",
"Model",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
]
dependencies = [
"pytz",
"workalendar<8.0.0",
"pandas==0.23.4",
"requests",
"six",
"xlrd==1.2.0",
]

[project.optional-dependencies]
dev = [
"mamba<0.11.0",
"expects",
"vcrpy",
"coveralls",
"build",
]

[project.urls]
homepage = "http://code.gisce.net"

[tool.hatch.version]
path = "enerdata/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
"/enerdata",
]

[tool.hatch.build.targets.wheel]
packages = [
"/enerdata",
]
3 changes: 0 additions & 3 deletions requirements-dev.txt

This file was deleted.

6 changes: 0 additions & 6 deletions requirements.txt

This file was deleted.

2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

22 changes: 0 additions & 22 deletions setup.py

This file was deleted.