Skip to content

Commit

Permalink
Add pip requirements (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtilly authored Nov 5, 2021
1 parent 16cf2e4 commit 9d7c1c3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
Changelog
=========

3.0.5 - 2021-11-05
------------------

**Other changes**

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

3.0.4 - 2021-11-03
------------------

Expand Down
7 changes: 1 addition & 6 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{% set name = "tabmat" %}
{% set version = "3.0.1" %}

package:
name: {{ name|lower }}
version: {{ version }}
version: {{ environ.get('GIT_DESCRIBE_TAG', '').lstrip('v') }}{% if environ.get('GIT_DESCRIBE_NUMBER', 0)|int != 0 %}.post{{ GIT_DESCRIBE_NUMBER }}+{{ GIT_DESCRIBE_HASH }}{% endif %}

source:
git_url: ../
Expand Down Expand Up @@ -32,16 +31,12 @@ requirements:
- mako
- numpy
- pip
- scikit-learn >=0.23
- setuptools_scm
- xsimd
run:
- python
- joblib
- numexpr
- {{ pin_compatible('numpy') }}
- pandas
- scikit-learn >=0.23
- scipy

test:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
],
package_dir={"": "src"},
packages=find_packages(where="src"),
install_requires=[],
install_requires=["numpy", "pandas", "scipy"],
ext_modules=cythonize(ext_modules, annotate=False),
zip_safe=False,
)

0 comments on commit 9d7c1c3

Please sign in to comment.