Skip to content
Snippets Groups Projects
Commit 87c8cb08 authored by Jan Habscheid's avatar Jan Habscheid
Browse files

Package structure 1, now correct commit

parent db98b388
No related branches found
No related tags found
1 merge request!8Package
Showing
with 51 additions and 20 deletions
Bsc-ElectrolyteModels
Metadata-Version: 2.1 Metadata-Version: 2.1
Name: BscElectrolyteModels Name: FENICSxDGM
Version: 1.0 Version: 1.0
Summary: A description is yet to follow Summary: A description is yet to follow
Home-page: https://git.rwth-aachen.de/JanHab/Bsc-ElectrolyteModels Home-page: https://git.rwth-aachen.de/JanHab/Bsc-ElectrolyteModels
...@@ -9,7 +9,7 @@ License: GNU General Public License v3.0 or later ...@@ -9,7 +9,7 @@ License: GNU General Public License v3.0 or later
Keywords: fenics-project,Battery Simulation,finite element method Keywords: fenics-project,Battery Simulation,finite element method
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3) Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3
Requires-Python: ==3.12.3 Requires-Python: >=3.12.3
Description-Content-Type: text/markdown Description-Content-Type: text/markdown
License-File: LICENSE License-File: LICENSE
Requires-Dist: pyvista==0.43.10 Requires-Dist: pyvista==0.43.10
...@@ -27,9 +27,9 @@ Requires-Dist: sphinx_rtd_theme==3.0.1; extra == "docs" ...@@ -27,9 +27,9 @@ Requires-Dist: sphinx_rtd_theme==3.0.1; extra == "docs"
Provides-Extra: build Provides-Extra: build
Requires-Dist: build>=0.7.0; extra == "build" Requires-Dist: build>=0.7.0; extra == "build"
Provides-Extra: dev Provides-Extra: dev
Requires-Dist: BScElectrolytemodels[tests]; extra == "dev" Requires-Dist: FENICSxDGM[tests]; extra == "dev"
Requires-Dist: BScElectrolytemodels[docs]; extra == "dev" Requires-Dist: FENICSxDGM[docs]; extra == "dev"
Requires-Dist: BScElectrolytemodels[build]; extra == "dev" Requires-Dist: FENICSxDGM[build]; extra == "dev"
# Reproducibility Repository for Numerical Treatment of a Thermodynamically Consistent Electrolyte Model (B.Sc. Thesis - Jan Habscheid) # Reproducibility Repository for Numerical Treatment of a Thermodynamically Consistent Electrolyte Model (B.Sc. Thesis - Jan Habscheid)
...@@ -60,7 +60,7 @@ All the calculations were performed on a Linux machine. According to the documen ...@@ -60,7 +60,7 @@ All the calculations were performed on a Linux machine. According to the documen
``` ```
conda create --name fenicsx-env python=3.12.3 -y conda create --name fenicsx-env python=3.12.3 -y
conda activate fenicsx-env conda activate fenicsx-env
conda install -c conda-forge fenics-dolfinx=0.8.0 mpich=4.2.1 pyvista=0.43.10 matplotlib=3.8.4 numpy=1.26.4 scipy=1.14.0 pytest==8.3.3 -y conda install -c conda-forge fenics-dolfinx=0.8.0 mpich=4.2.1 pyvista=0.43.10 gcc=12.4.0 matplotlib=3.8.4 numpy=1.26.4 scipy=1.14.0 pytest==8.3.3 -y
``` ```
### Alternative installation ### Alternative installation
......
...@@ -3,13 +3,13 @@ README.md ...@@ -3,13 +3,13 @@ README.md
pyproject.toml pyproject.toml
setup.cfg setup.cfg
setup.py setup.py
BscElectrolyteModels.egg-info/PKG-INFO FENICSxDGM.egg-info/PKG-INFO
BscElectrolyteModels.egg-info/SOURCES.txt FENICSxDGM.egg-info/SOURCES.txt
BscElectrolyteModels.egg-info/dependency_links.txt FENICSxDGM.egg-info/dependency_links.txt
BscElectrolyteModels.egg-info/entry_points.txt FENICSxDGM.egg-info/entry_points.txt
BscElectrolyteModels.egg-info/requires.txt FENICSxDGM.egg-info/requires.txt
BscElectrolyteModels.egg-info/top_level.txt FENICSxDGM.egg-info/top_level.txt
BscElectrolyteModels.egg-info/zip-safe FENICSxDGM.egg-info/zip-safe
src/ElectrolyticDiode.py src/ElectrolyticDiode.py
src/Eq02.py src/Eq02.py
src/Eq04.py src/Eq04.py
......
...@@ -6,9 +6,9 @@ scipy==1.14.0 ...@@ -6,9 +6,9 @@ scipy==1.14.0
build>=0.7.0 build>=0.7.0
[dev] [dev]
BScElectrolytemodels[tests] FENICSxDGM[tests]
BScElectrolytemodels[docs] FENICSxDGM[docs]
BScElectrolytemodels[build] FENICSxDGM[build]
[docs] [docs]
sphinx==7.3.7 sphinx==7.3.7
......
FENICSxDGM
from .ElectrolyticDiode import ElectrolyticDiode
from .Eq02 import solve_System_2eq, create_refined_mesh
from .Eq04 import solve_System_4eq
from .EqN import solve_System_Neq
from .Helper_DoubleLayerCapacity import *
\ No newline at end of file
No preview for this file type
File added
File added
[metadata] [metadata]
name = BScElectrolytemodels name = FENICSxDGM
version = attr: 1.0 version = attr: 1.0
author = Jan Habscheid, Manuel Torrilhon, Lambert Theisen author = Jan Habscheid, Manuel Torrilhon, Lambert Theisen
author_email = Jan.Habscheid@rwth-aachen.de, lambert.theisen@rwth-aachen.de, mt@mathcces.rwth-aachen.de author_email = Jan.Habscheid@rwth-aachen.de, lambert.theisen@rwth-aachen.de, mt@mathcces.rwth-aachen.de
...@@ -18,7 +18,7 @@ package_dir= ...@@ -18,7 +18,7 @@ package_dir=
=src =src
packages = find: packages = find:
zip_safe = True zip_safe = True
python_requires == 3.12.3 python_requires >= 3.12.3
include_package_data = True include_package_data = True
install_requires = install_requires =
pyvista == 0.43.10 pyvista == 0.43.10
...@@ -42,6 +42,6 @@ docs = ...@@ -42,6 +42,6 @@ docs =
sphinx_rtd_theme == 3.0.1 sphinx_rtd_theme == 3.0.1
build = build >= 0.7.0 build = build >= 0.7.0
dev = dev =
BScElectrolytemodels[tests] FENICSxDGM[tests]
BScElectrolytemodels[docs] FENICSxDGM[docs]
BScElectrolytemodels[build] FENICSxDGM[build]
\ No newline at end of file \ No newline at end of file
from setuptools import setup, find_packages from setuptools import setup, find_packages
setup( setup(
name="BscElectrolyteModels", name="FENICSxDGM",
version="1.0", version="1.0",
description="A description is yet to follow", description="A description is yet to follow",
url="https://git.rwth-aachen.de/JanHab/Bsc-ElectrolyteModels", url="https://git.rwth-aachen.de/JanHab/Bsc-ElectrolyteModels",
author="Jan Habscheid, Lambert Theisen, Manuel Torrilhon", author="Jan Habscheid, Lambert Theisen, Manuel Torrilhon",
author_email="Jan.Habscheid@rwth-aachen.de, lambert.theisen@rwth-aachen.de, mt@mathcces.rwth-aachen.de", author_email="Jan.Habscheid@rwth-aachen.de, lambert.theisen@rwth-aachen.de, mt@mathcces.rwth-aachen.de",
packages=["Bsc-ElectrolyteModels"], packages=["FENICSxDGM"],
package_dir={"Bsc-ElectrolyteModels":"src"}, # packages=find_packages("src"),
package_data={"Bsc-ElectrolyteModels": ["tests/*"]}, package_dir={"FENICSxDGM":"src"},
python_requires="==3.12.3", # package_dir={"": "src"},
package_data={"FENICSxDGM": ["tests/*"]},
# package_data={"": ["tests/*"]},
python_requires=">=3.12.3",
install_requires=[ install_requires=[
"pyvista == 0.43.10", "pyvista == 0.43.10",
"numpy == 1.26.4", "numpy == 1.26.4",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment