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

Update to v0.1.0 #78

Merged
merged 1 commit into from
Jul 22, 2022
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
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