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

Updated requirements #1045

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
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
7 changes: 3 additions & 4 deletions doc/contributors_guide/tips_and_tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,15 @@ This can be done as follows:

2. Build the wheel

cd python
python setup.py bdist_wheel
cd dlite # root of source directory
pip wheel -w python/dist ./python
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this line here and delete it from line 20.

Suggested change
pip wheel -w python/dist ./python
pip install wheel -r requirements.txt
pip wheel -w python/dist ./python


3. Install the wheel with pip in a newly created environment (the version numbers may differ for your case)

pip install dist/DLite_Python-0.5.22-cp311-cp311-linux_x86_64.whl
pip install python/dist/DLite_Python-0.5.26-cp311-cp311-linux_x86_64.whl

4. Finally, test by importing dlite in the standard manner

cd ..
python
>>> import dlite

Expand Down
7 changes: 2 additions & 5 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Requirements building
swig==4.3.0
cmake==3.31.1
cmake==3.31.2
#setuptools==67.5.0; python_version<"3.9"
#setuptools==75.3.0; python_version>="3.9"
setuptools==75.3.0
wheel==0.41.3

# Requirements for running tests
mongomock==4.2.0.post1
wheel==0.45.1
4 changes: 2 additions & 2 deletions requirements_doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ breathe==4.35.0
docutils==0.21.2
lxml==5.3.0
myst-nb==1.1.2
nbclient==0.10.0
nbclient==0.10.1
Sphinx==7.4.7
sphinx-autoapi==3.3.3
sphinx-autoapi==3.4.0
sphinx-autobuild==2024.10.3
sphinx-book-theme==1.1.3
sphinx-copybutton==0.5.2
Expand Down
3 changes: 3 additions & 0 deletions requirements_full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ pydantic>=1.10.0,!=2.10.0,!=2.10.1,<2.10.2
typing_extensions>=4.1,<5; python_version<'3.9'
fortran-language-server>=1.12.0,<1.13

# Requirements for running tests
mongomock==4.3.0

# For TEM demo
##matplotlib>=3,<4
##scikit-image>=0.19,<1
Expand Down
Loading