Skip to content

Commit

Permalink
Version bump, create PyPI and conda packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rnelsonchem committed Mar 22, 2023
1 parent b025233 commit 4a1d41a
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -36,7 +36,7 @@ From PyPI::

Via Conda::

$ conda install -c rnelsonchem pHcalc
$ conda install -c rnelsonchem phcalc

If you have ``git`` installed on your system, then you can get the most
recent, unrelased version from the `GitHub repo`_::
Expand Down
41 changes: 41 additions & 0 deletions conda/meta.yaml
@@ -0,0 +1,41 @@
{% set name = "pHcalc" %}
{% set version = "0.2.0" %}

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

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pHcalc-{{ version }}.tar.gz
sha256: 692aa59d92b5a3c2ce90f947be3166fd8964adb9246bd81d67b1c347f5713317

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

requirements:
host:
- python >=3.5
- setuptools
- pip
run:
- python >=3.5
- numpy >=1.10.0
- scipy >=0.17.0

test:
imports:
- pHcalc
commands:
- pip check
requires:
- pip

about:
summary: Systematic pH calculation package for Python
license: BSD-3-Clause

extra:
recipe-maintainers:
- rnelsonchem
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pHcalc"
version = "0.1.2"
version = "0.2.0"

description = "Systematic pH calculation package for Python"
keywords = [ "pH", "systematic", "distribution", "titration", "acid", "base" ]
Expand Down

0 comments on commit 4a1d41a

Please sign in to comment.