Skip to content

Commit

Permalink
Add pip requirements (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtilly authored Nov 5, 2021
1 parent a87bf4b commit 8f3fc48
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
Changelog
=========

2.0.3 - 2021-11-05
------------------

**Other:**

- We are now specifying the run time dependencies in ``setup.py``, so that missing dependencies are automatically installed from PyPI when installing ``glum`` via pip.


2.0.2 - 2021-11-03
------------------

Expand All @@ -15,7 +23,7 @@ Changelog
- Fixed the sign of the log likelihood of the Gaussian distribution (not used for fitting coefficients).
- Fixed the wide benchmarks which had duplicated columns (categorical and numerical).

** Other:**
**Other:**

- The CI now builds the wheels and upload to pypi with every new release.
- Renamed functions checking for qc.matrix compliance to refer to tabmat.
Expand Down
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,15 @@
if os.environ.get("CONDA_BUILD")
else ["glum", "glum_benchmarks"],
),
install_requires=[],
install_requires=[
"joblib",
"numexpr",
"numpy",
"pandas",
"scikit-learn>=0.23",
"scipy",
"tabmat>=3.0.1",
],
entry_points=None
if os.environ.get("CONDA_BUILD")
else """
Expand Down

0 comments on commit 8f3fc48

Please sign in to comment.