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

Fix/issue 16 #18

Merged
merged 4 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [0.3.1] - 2024-07-03

### Fixed

- Missing sub-packages problem when installing with pip from the repo; Fix for Issue https://github.com/blakeaw/pysb-pkpd/issues/16

## [0.3.0] - 2024-07-01

### Added
Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
![Python version badge](https://img.shields.io/badge/python-3.11.3-blue.svg)
[![PySB version badge](https://img.shields.io/badge/PySB->%3D1.15.0-9cf.svg)](https://pysb.org/)
[![license](https://img.shields.io/github/license/blakeaw/pysb-pkpd.svg)](LICENSE)
![version](https://img.shields.io/badge/version-0.3.0-orange.svg)
[![release](https://img.shields.io/github/release-pre/blakeaw/pysb-pkpd.svg)](https://github.com/blakeaw/pysb-pkpd/releases/tag/v0.3.0)
![version](https://img.shields.io/badge/version-0.3.1-orange.svg)
[![release](https://img.shields.io/github/release-pre/blakeaw/pysb-pkpd.svg)](https://github.com/blakeaw/pysb-pkpd/releases/tag/v0.3.1)


__`pysb-pkpd` enables you to efficiently program and simulate dynamic PK/PD and QSP models in Python using the PySB modeling framework.__
Expand Down Expand Up @@ -56,27 +56,27 @@ Note that `pysb-pkpd` has the following core dependencies:

### pip install

You can install `pysb-pkpd` version 0.3.0 with `pip` sourced from the GitHub repo:
You can install `pysb-pkpd` version 0.3.1 with `pip` sourced from the GitHub repo:

##### with git installed:

Fresh install:
```
pip install git+https://github.com/blakeaw/[email protected].0
pip install git+https://github.com/blakeaw/[email protected].1
```
Or to upgrade from an older version:
```
pip install --upgrade git+https://github.com/blakeaw/[email protected].0
pip install --upgrade git+https://github.com/blakeaw/[email protected].1
```
##### without git installed:

Fresh install:
```
pip install https://github.com/blakeaw/pysb-pkpd/archive/refs/tags/v0.3.0.zip
pip install https://github.com/blakeaw/pysb-pkpd/archive/refs/tags/v0.3.1.zip
```
Or to upgrade from an older version:
```
pip install --upgrade https://github.com/blakeaw/pysb-pkpd/archive/refs/tags/v0.3.0.zip
pip install --upgrade https://github.com/blakeaw/pysb-pkpd/archive/refs/tags/v0.3.1.zip
```
### Manual install

Expand Down Expand Up @@ -246,7 +246,9 @@ I'm very happy that you've chosen to use __pysb-pkpd__. This add-on is a project
* **Star** :star: : Show your support by starring the [pysb-pkpd GitHub repository](https://github.com/blakeaw/pysb-pkpd). It helps increase the project's visibility and lets others know it's useful. It also benefits my motivation to continue improving the package!
* **Share** :mega: : Sharing `pysb-pkpd` on your social media, forums, or with your network is another great way to support the project. It helps more people discover `pysb-pkpd`, which in turn motivates me to keep developing!
* **Cite** :books: : Citing or mentioning this software in your work, publications, or projects is another valuable way to support it. It helps spread the word and acknowledges the effort put into its development, which is greatly appreciated!
* **Sponsor** :dollar: : Even small contributions through my Ko-fi page, [ko-fi.com/blakeaw](https://ko-fi.com/blakeaw), can make a big difference. Every little bit can help me continue developing this and other open-source projects, and I truly appreciate your support!
* **Sponsor** :dollar: : Even small financial contributions, such as spotting me the cost of a tea through Ko-fi so I can get my caffeine fix, can make a big difference! Every little bit can help me continue developing this and other open-source projects.

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/J3J4ZUCVU)

-----

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Changelog = "https://github.com/blakeaw/pysb-pkpd/blob/main/CHANGELOG.md"
# Find namespace package
[tool.setuptools.packages.find]
where = ["src"]
include = ["pysb.pkpd"]
include = ["pysb.pkpd", "pysb.pkpd.macros", "pysb.pkpd.models", "pysb.pkpd.pk_models"]
namespaces = true

# Set the dynamic version
Expand Down
2 changes: 1 addition & 1 deletion src/pysb/pkpd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from .macros import *
from .util import simulate

__version__ = '0.3.0'
__version__ = '0.3.1'
2 changes: 2 additions & 0 deletions src/pysb/pkpd/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import sympy
from sympy import Piecewise



__all__ = [
"drug_monomer",
"one_compartment",
Expand Down