-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update iced to 0.5.13 * add run_exports * Try to fix the build. Add linux-aarch64 Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * Update iced to 0.5.13 * Update build.sh * Update meta.yaml * clean up recipe * update tests * edit patch --------- Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> Co-authored-by: Alicia A. Evans <[email protected]> Co-authored-by: aliciaaevans <[email protected]> Co-authored-by: Martin Tzvetanov Grigorov <[email protected]> Co-authored-by: Joshua Zhuang <[email protected]> Co-authored-by: mencian <[email protected]>
- Loading branch information
1 parent
b82234f
commit 5715639
Showing
5 changed files
with
54 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
diff --git a/setup.py b/setup.py | ||
index 7e8b201..cb9a3b9 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -1,6 +1,7 @@ | ||
import os | ||
import sys | ||
-from setuptools import Extension, setup, find_packages | ||
+from setuptools import Extension, setup, find_namespace_packages | ||
+from Cython.Build import cythonize | ||
import numpy as np | ||
|
||
|
||
@@ -38,13 +39,13 @@ setup( | ||
"Topic :: Utilities", | ||
"License :: OSI Approved :: BSD License", | ||
], | ||
- packages=find_packages(where="."), | ||
+ packages=find_namespace_packages(where="."), | ||
ext_modules=[ | ||
Extension(name="iced._filter_", | ||
sources=["iced/_filter_.pyx"], | ||
include_dirs=[np.get_include()] | ||
), | ||
- Extension(name="iced.normalization/_normalization_", | ||
+ Extension(name="iced.normalization._normalization_", | ||
sources=["iced/normalization/_normalization_.pyx"], | ||
include_dirs=[np.get_include()] | ||
)], |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,58 @@ | ||
{% set name = "iced" %} | ||
{% set version = "0.5.10" %} | ||
{% set sha256 = "77240573bfb552d33301cf5b22f597f50c04e03c8ccea4dcc88fee884e394fd0" %} | ||
{% set version = "0.5.13" %} | ||
{% set sha256 = "455ecb3464cc64e0fdec776bc7b0f0cae9d729539be6865ac9d5436c5e77e6b9" %} | ||
|
||
package: | ||
name: "{{ name }}" | ||
version: "{{ version }}" | ||
|
||
source: | ||
url: https://github.com/hiclib/{{ name }}/archive/v{{ version }}.tar.gz | ||
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/iced-{{ version }}.tar.gz | ||
sha256: {{ sha256 }} | ||
patches: | ||
- 0001-setup.py.patch | ||
|
||
build: | ||
number: 3 | ||
number: 0 | ||
script: {{ PYTHON }} -m pip install . -vvv --no-deps --no-build-isolation --no-cache-dir | ||
entry_points: | ||
- ice = iced.scripts.ice:main | ||
run_exports: | ||
- {{ pin_subpackage(name, max_pin="x.x") }} | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
- {{ compiler('cxx') }} | ||
host: | ||
- pip | ||
- python | ||
- cython | ||
- numpy | ||
- scipy >=0.13.3 | ||
- numpy >=1.16.0 | ||
- scipy >=0.19.0 | ||
run: | ||
- python | ||
- {{ pin_compatible('numpy') }} | ||
- scipy >=0.13.3 | ||
- scipy >=0.19.0 | ||
- pandas | ||
- scikit-learn | ||
- matplotlib-base | ||
|
||
test: | ||
imports: | ||
- iced | ||
commands: | ||
- ice --help | ||
|
||
about: | ||
home: https://github.com/hiclib/iced | ||
license: new BSD | ||
home: "https://github.com/hiclib/iced" | ||
license: "BSD-3-Clause" | ||
license_family: BSD | ||
license_file: LICENSE | ||
summary: "The python module iced implements the ICE normalization of hic data." | ||
dev_url: "https://github.com/hiclib/iced" | ||
doc_url: "https://members.cbio.mines-paristech.fr/~nvaroquaux/iced" | ||
|
||
extra: | ||
additional-platforms: | ||
- linux-aarch64 | ||
- osx-arm64 |