Skip to content

Commit 265022d

Browse files
committed
fix building conda packages by modernizing meta.yaml
1 parent c1e41c9 commit 265022d

File tree

4 files changed

+23
-44
lines changed

4 files changed

+23
-44
lines changed

condarecipe/larray/bld.bat

Lines changed: 0 additions & 7 deletions
This file was deleted.

condarecipe/larray/build.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

condarecipe/larray/meta.yaml

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,52 +8,47 @@ source:
88
# git_tag: master
99
# git_url: file://c:/Users/gdm/devel/larray/.git
1010

11-
# build:
12-
# If this is a new build for the same version, increment the build
13-
# number. If you do not include this key, it defaults to 0.
14-
# number: 1
11+
build:
12+
# If this is a new build for the same version, increment the build number
13+
number: 0
14+
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv"
1515

1616
requirements:
1717
build:
18+
- pip
1819
- python
19-
- setuptools
20-
- numpy >=1.10
21-
- pandas >=0.13.1
22-
- pytest-runner
2320

2421
run:
2522
- python
2623
- numpy >=1.10
2724
- pandas >=0.13.1
28-
- pytest-runner
2925

3026
test:
3127
# requires:
3228
# - pytest
33-
# - pytest-runner
29+
# - pytables
3430

3531
imports:
3632
- larray
3733

3834
# commands:
39-
# - pytest
40-
41-
# commands:
42-
# You can put test commands to be run here. Use this to test that the
43-
# entry points work.
44-
45-
# You can also put a file called run_test.py in the recipe that will be run
46-
# at test time.
47-
48-
# requires:
49-
# Put any additional test requirements here. For example
50-
# - nose
35+
# # You can also put a file called run_test.py in the recipe that will be run# at test time.
36+
# - pytest --pyargs larray
5137

5238
about:
5339
home: http://github.com/larray-project/larray
54-
license: GPL
40+
license: GPL-3.0
41+
license_family: GPL
42+
license_file: COPYING
5543
summary: "Labeled N-dimensional array."
44+
# doc_url:
45+
# dev_url:
46+
47+
extra:
48+
recipe-maintainers:
49+
- alixdamman
50+
- gdementen
5651

5752
# See
58-
# http://docs.continuum.io/conda/build.html for
59-
# more information about meta.yaml
53+
# https://conda.io/docs/user-guide/tasks/build-packages/index.html
54+
# for more information about meta.yaml

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ def readlocal(fname):
1414
AUTHOR_EMAIL = '[email protected]'
1515
DESCRIPTION = "N-D labeled arrays in Python"
1616
LONG_DESCRIPTION = readlocal("README.rst")
17+
SETUP_REQUIRES = []
1718
INSTALL_REQUIRES = ['numpy >= 1.10', 'pandas >= 0.13.1']
1819
TESTS_REQUIRE = ['pytest', 'pytest-pep8']
19-
SETUP_REQUIRES = ['pytest-runner']
2020

2121
LICENSE = 'GPLv3'
2222
URL = 'https://github.com/larray-project/larray'
@@ -47,10 +47,10 @@ def readlocal(fname):
4747
classifiers=CLASSIFIERS,
4848
description=DESCRIPTION,
4949
long_description=LONG_DESCRIPTION,
50+
setup_requires=SETUP_REQUIRES,
5051
install_requires=INSTALL_REQUIRES,
5152
tests_require=TESTS_REQUIRE,
52-
setup_requires=SETUP_REQUIRES,
5353
url=URL,
5454
packages=find_packages(),
55-
include_package_data=True,
55+
include_package_data=True,
5656
)

0 commit comments

Comments
 (0)