Skip to content

Commit

Permalink
Update to v0.1.0 (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
gibsramen authored Jul 22, 2022
1 parent 3a7515c commit ebc6f03
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
2 changes: 2 additions & 0 deletions birdman/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from .default_models import (NegativeBinomial, NegativeBinomialLME,
NegativeBinomialSingle)

__version__ = "0.1.0"

__all__ = ["BaseModel", "TableModel", "SingleFeatureModel", "ModelIterator",
"NegativeBinomial", "NegativeBinomialSingle",
"NegativeBinomialLME"]
18 changes: 14 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Inspired by the EMPress setup.py file
import ast
import re
from setuptools import find_packages, setup

__version__ = "0.0.4"
# version parsing from __init__ pulled from Flask's setup.py
# https://github.com/mitsuhiko/flask/blob/master/setup.py
_version_re = re.compile(r"__version__\s+=\s+(.*)")

with open("birdman/__init__.py", "rb") as f:
hit = _version_re.search(f.read().decode("utf-8")).group(1)
version = str(ast.literal_eval(hit))


classifiers = """
Development Status :: 3 - Alpha
Expand All @@ -19,7 +28,7 @@
"inference"
)

with open('README.md') as f:
with open("README.md") as f:
long_description = f.read()

setup(
Expand All @@ -30,14 +39,15 @@
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/gibsramen/BIRDMAn",
version=__version__,
license='BSD-3-Clause',
version=version,
license="BSD-3-Clause",
packages=find_packages(),
include_package_data=True,
package_data={"": ["*.stan"]},
install_requires=[
"numpy",
"cmdstanpy>=1.0.1",
"scipy",
"biom-format",
"patsy",
"xarray",
Expand Down

0 comments on commit ebc6f03

Please sign in to comment.