Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpdata #8786

Merged
merged 10 commits into from
Jul 11, 2019
Merged

dpdata #8786

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
43 changes: 43 additions & 0 deletions recipes/dpdata/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{% set name = "dpdata" %}
{% set version = "0.1.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 35e94002256d8cc98f5c4109dbd645181117fb5d9489812d934d0c8757cdfd7f
patches:
- version.diff

build:
number: 0
noarch: python
script: "{{ PYTHON }} -m pip install . --no-deps -vv"

requirements:
host:
- python >=3.5
- pip
- numpy
run:
- python >=3.5
- {{ pin_compatible('numpy') }}
- monty

test:
imports:
- dpdata

about:
home: https://github.com/deepmodeling/dpdata
license: LGPL-3.0
license_family: LGPL
summary: 'Manipulating DeePMD-kit, VASP and LAMMPS data formats'
doc_url: https://github.com/deepmodeling/dpdata
dev_url: https://github.com/deepmodeling/dpdata

extra:
recipe-maintainers:
- njzjz
14 changes: 14 additions & 0 deletions recipes/dpdata/version.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/setup.py b/setup.py
index 800da34..014bef6 100644
--- a/setup.py
+++ b/setup.py
@@ -17,8 +17,7 @@
setuptools.setup(
name="dpdata",
version_format='{tag}.dev{commitcount}+{gitsha}',
- setup_requires=['setuptools-git-version'],
- # version="0.0.2",
+ version="0.1.0",
author="Han Wang",
author_email="wang_han@iapcm.ac.cn",
description="Manipulating DeePMD-kit, VASP and LAMMPS data formats",