Skip to content

Commit

Permalink
bump pmcx version to 0.1.1 to fix critical bug #180
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Aug 25, 2023
1 parent eaf31de commit 0be475b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions pmcx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

- Copyright: (C) Matin Raayai Ardakani (2022-2023) <raayaiardakani.m at northeastern.edu>, Qianqian Fang (2019-2023) <q.fang at neu.edu>, Fan-Yu Yen (2023) <yen.f at northeastern.edu>
- License: GNU Public License V3 or later
- Version: 0.1.0
- Version: 0.1.1
- URL: https://pypi.org/project/pmcx/
- Github: https://github.com/fangq/mcx

Expand Down Expand Up @@ -99,8 +99,13 @@ This can be queried via ```echo $env:PATH``` on Windows or ```echo $PATH``` on L
cd mcx/pmcx
```

3. Either run ```python setup.py install``` or ```pip install .``` to directly install, or run ```pip wheel .``` to only
build the Python wheel without installing it.
3. One can run `python3 setup.py install` or `python3 -m pip install .` to both locally build and install the module

4. If one only wants to locally build the module, one should run `python3 -m pip wheel .`

5. If the binary module is successfully built locally, you should see a binary wheel file `pmcx-X.X.X-cpXX-cpXX-*.whl`
stored inside the `mcx/pmcx` folder. You can install this wheel package using `python3 -m pip install --force-reinstall pmcx-*.whl`
to force installing this locally compiled `pmcx` module and overwrite any previously installed versions.


## How to use
Expand Down
2 changes: 1 addition & 1 deletion pmcx/pmcx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# from .files import loadmc2, loadmch, load, save
from .bench import bench

__version__ = "0.1.0"
__version__ = "0.1.1"

__all__ = (
"gpuinfo",
Expand Down
2 changes: 1 addition & 1 deletion pmcx/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def build_extension(self, ext):
setup(
name="pmcx",
packages=['pmcx'],
version="0.1.0",
version="0.1.1",
requires=['numpy'],
license='GPLv3+',
author="Matin Raayai Ardakani, Qianqian Fang, Fan-Yu Yen",
Expand Down

0 comments on commit 0be475b

Please sign in to comment.