Skip to content

Commit

Permalink
ci: coverage path for editable install on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Gattocrucco committed Dec 23, 2023
1 parent 46c6c02 commit 0fa7d26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/userguide/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
Installation
============

First, you have to get a working Python interpreter. There are two main
options: the official package from `<https://www.python.org>`_, and the `Spyder
IDE <https://www.spyder-ide.org>`_. The latter is probably the easier one.
First, you have to get a working Python interpreter. There are three main options: the official package from `<https://www.python.org>`_, the Anaconda distribution `<https://www.anaconda.com>`_, and the `Spyder IDE <https://www.spyder-ide.org>`_. The latter is probably the easier one if it's your first time with Python.

Then, install :mod:`lsqfitgp` by running this command in a shell:

Expand All @@ -35,7 +33,4 @@ Then, install :mod:`lsqfitgp` by running this command in a shell:
Windows
-------

I've seen that people may have problems installing the dependency :mod:`gvar` on
Windows. This page may help: `<https://www.lfd.uci.edu/~gohlke/pythonlibs/>`_.
Another problematic dependency is JAX, whose Windows support is experimental. I
do not test `lsqfitgp` on Windows.
JAX is still a bit buggy on Windows, a few tests in lsqfitgp's test suite fail due to accuracy problems.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ github = [
'/Library/Frameworks/Python.framework/Versions/*/lib/python*/site-packages/lsqfitgp/',
'/Users/runner/hostedtoolcache/Python/*/*/lib/python*/site-packages/lsqfitgp/',
'/opt/hostedtoolcache/Python/*/*/lib/python*/site-packages/lsqfitgp/',
'C:\hostedtoolcache\windows\Python\*\*\Lib\site-packages\lsqfitgp\',
]

local = [
Expand All @@ -180,4 +181,5 @@ local = [
'/Library/Frameworks/Python.framework/Versions/*/lib/python*/site-packages/lsqfitgp/',
'/Users/runner/hostedtoolcache/Python/*/*/lib/python*/site-packages/lsqfitgp/',
'/opt/hostedtoolcache/Python/*/*/lib/python*/site-packages/lsqfitgp/',
'C:\hostedtoolcache\windows\Python\*\*\Lib\site-packages\lsqfitgp\',
]

0 comments on commit 0fa7d26

Please sign in to comment.