Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving to src folder #269

Merged
merged 5 commits into from
Oct 9, 2022
Merged
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ FROM dependencies as final
ARG paramak_version=develop

COPY run_tests.sh run_tests.sh
COPY paramak paramak/
COPY src src/
COPY examples examples/

COPY tests tests/
Expand Down
4 changes: 2 additions & 2 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ build:
requirements:
build:
- python {{ python }}
- setuptools>=46.4.0
- setuptools_scm>=6.3.1
- setuptools>=65.4.1
- setuptools_scm>=7.0.5
run:
- python {{ python }}
- cadquery {{ cadquery }}
Expand Down
43 changes: 39 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,48 @@
[build-system]
requires = [
"setuptools >= 46.4.0",
"wheel",
"setuptools_scm[toml] >= 6.3.1",
"setuptools >= 65.4.1",
"setuptools_scm[toml] >= 7.0.5",
]
build-backend = "setuptools.build_meta"

[project]
name = "paramak"
dynamic = ["version"]
description = "Create 3D fusion reactor CAD models based on input parameters"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
authors = [
{ name="The Paramak Development Team" },
]
license = {file = "LICENSE.txt"}
requires-python = ">=3.8"
dependencies = [
"plotly>=5.1.0",
"scipy>=1.7.0",
"sympy>=1.8",
"numpy>=1.21.1",
"matplotlib>=3.4.2",
"plasmaboundaries>=0.1.8",
"jupyter-client < 7",
"jupyter-cadquery>=3.2.0",
"brep_part_finder>=0.5.0",
"brep_to_h5m>=0.4.0",
]

[project.urls]
"Homepage" = "https://github.com/fusion-energy/paramak"
"Bug Tracker" = "https://github.com/fusion-energy/paramak/issues"
"Documentation" = "https://paramak.readthedocs.io"

[tool.setuptools_scm]
write_to = "paramak/_version.py"
write_to = "src/_version.py"

[tool.black]
line-length = 120

[tool.setuptools]
package-dir = {"" = "src"}
33 changes: 0 additions & 33 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,43 +1,10 @@
[metadata]
name = paramak
version = attr: paramak.__version__
author = The Paramak Development Team
author_email = [email protected]
description = Create 3D fusion reactor CAD models based on input parameters
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/fusion-energy/paramak
license = MIT
license_file = LICENSE.txt
classifiers =
Natural Language :: English
Topic :: Scientific/Engineering
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
License :: OSI Approved :: MIT License
Operating System :: OS Independent
project_urls =
Source = https://github.com/fusion-energy/paramak
Tracker = https://github.com/fusion-energy/paramak/issues

[options]
packages = find:
python_requires= >=3.8
install_requires=
plotly >= 5.1.0
scipy >= 1.7.0
sympy >= 1.8
numpy >= 1.21.1
matplotlib >= 3.4.2
plasmaboundaries >= 0.1.8
jupyter-client < 7
jupyter-cadquery >= 3.2.0
brep_part_finder >= 0.5.0
brep_to_h5m >= 0.4.0
setuptools_scm

[options.extras_require]
tests =
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file removed tests/__init__.py
Empty file.