Skip to content

Commit 6629de8

Browse files
Merge pull request #958 from hackingmaterials/src
Migrate to src layout
2 parents 35cf953 + 9fca4fd commit 6629de8

143 files changed

Lines changed: 19 additions & 13 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ nosetests.xml
5353
dataset_prep.log
5454

5555
# Datasets
56-
matminer/datasets/*.json.gz
57-
matminer/utils/data_files/mp_transport/transport_database.csv
56+
src/matminer/datasets/*.json.gz
57+
src/matminer/utils/data_files/mp_transport/transport_database.csv
5858
**/test_dataset.csv

pyproject.toml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
1+
12
[build-system]
2-
requires = ["setuptools>=64", "setuptools-scm>=8"]
3+
requires = ["setuptools>=80.0.0","setuptools-scm>=8"]
34
build-backend = "setuptools.build_meta"
45

6+
[tool.setuptools_scm]
7+
root = "."
8+
relative_to = "__file__"
9+
10+
[tool.setuptools]
11+
include-package-data = true
12+
13+
[tool.setuptools.packages.find]
14+
where = ["src"]
15+
exclude = ["tests", "docs", "docs_rst", "dev_scripts"]
16+
include = ["matminer*"]
17+
518
[project]
619
name = "matminer"
720
description = "matminer is a library that contains tools for data mining in Materials Science"
821
readme = "README.md"
9-
license = {text = "modified BSD"}
22+
license-files = ["LICENSE"]
1023
keywords = ["data mining", "materials science", "scientific tools"]
1124
authors = [
1225
{ name = "Anubhav Jain", email = "anubhavster@gmail.com" }
@@ -37,8 +50,8 @@ dependencies = [
3750
]
3851

3952
[project.urls]
40-
"Homepage" = "https://github.com/hackingmaterials/matminer"
41-
53+
Homepage = "https://github.com/hackingmaterials/matminer"
54+
Documentation = "https://hackingmaterials.lbl.gov/matminer/"
4255

4356
[project.optional-dependencies]
4457
mpds = ["ujson", "jmespath", "httplib2", "ase", "jsonschema"]
@@ -60,13 +73,6 @@ dev = [
6073
]
6174
tests = ["matminer[mpds,describe,mdfforge,aflow,citrine,dev]"]
6275

63-
[tool.setuptools_scm]
64-
version_scheme = "guess-next-dev"
65-
local_scheme = "no-local-version"
66-
67-
[tool.setuptools.packages.find]
68-
where = ["matminer"]
69-
7076
[tool.pytest.ini_options]
7177
testpaths = ["tests"]
7278

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)