Skip to content

Commit f5ef58f

Browse files
authored
Merge pull request #10 from ClimateImpactLab/pkg_restructure
Restructure to src layout, use pyproject, breakout dscim.tests
2 parents 6a6a688 + 44bb85c commit f5ef58f

File tree

12,203 files changed

+33
-29
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,203 files changed

+33
-29
lines changed

.github/workflows/pythonpackage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
pip install -r requirements.txt
3131
- name: Install package
3232
run: |
33-
pip install .
33+
pip install . --no-deps
3434
- name: Format check with black
3535
run: |
3636
black --check .

pyproject.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[project]
2+
name = "dscim"
3+
description = "Data-Driven Spatial Climate Impact Model core component code"
4+
readme = "README.md"
5+
dynamic = ["version"]
6+
classifiers = [
7+
"Intended Audience :: Science/Research",
8+
"Natural Language :: English",
9+
"Programming Language :: Python :: 3",
10+
"Topic :: Scientific/Engineering",
11+
"Operating System :: OS Independent",
12+
]
13+
requires-python = ">=3.8"
14+
15+
[project.urls]
16+
Homepage = "https://github.com/ClimateImpactLab/dscim"
17+
Documentation = "https://github.com/ClimateImpactLab/dscim"
18+
Source = "https://github.com/ClimateImpactLab/dscim"
19+
"Bug Tracker" = "https://github.com/ClimateImpactLab/dscim/issues"
20+
21+
[build-system]
22+
requires = [
23+
"setuptools>=62.0",
24+
"wheel",
25+
"setuptools_scm>=7.0",
26+
]
27+
build-backend = "setuptools.build_meta"
28+
29+
[tool.setuptools_scm]
30+
fallback_version = "999"

setup.py

Lines changed: 0 additions & 26 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)