Skip to content

Commit 97b677e

Browse files
committed
Add conda recipe and tweak setup.py
1 parent b315907 commit 97b677e

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

conda-recipe/gridmap/meta.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package:
2+
name: gridmap
3+
version: 0.15.0
4+
5+
source:
6+
path: ../../
7+
8+
build:
9+
number: 0
10+
script:
11+
- cd $SRC_DIR
12+
- {{ PYTHON }} -m pip install . --no-deps -vv
13+
entry_points:
14+
- gridmap_web = gridmap.web:main
15+
16+
requirements:
17+
host:
18+
- python
19+
- pip
20+
run:
21+
- python
22+
- cloudpickle
23+
- drmaa
24+
- psutil >=2.0
25+
- pyzmq
26+
27+
test:
28+
imports:
29+
- gridmap

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# along with GridMap. If not, see <http://www.gnu.org/licenses/>.
2222
import sys
2323

24-
from setuptools import setup
24+
from setuptools import find_packages, setup
2525

2626
# To get around the fact that you can't import stuff from packages in setup.py
2727
exec(compile(open('gridmap/version.py').read(), 'gridmap/version.py', 'exec'))
@@ -49,7 +49,7 @@ def requirements():
4949
author='Daniel Blanchard',
5050
author_email='[email protected]',
5151
license='GPL',
52-
packages=['gridmap'],
52+
packages=find_packages(exclude=["tests"]),
5353
install_requires=requirements(),
5454
entry_points={'console_scripts': ['gridmap_web = gridmap.web:main']},
5555
classifiers=['Intended Audience :: Science/Research',

0 commit comments

Comments
 (0)