Skip to content

Commit

Permalink
Add poetry config
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo R. Mier committed May 31, 2020
1 parent 093f859 commit 79fb1bf
Show file tree
Hide file tree
Showing 4 changed files with 296 additions and 0 deletions.
261 changes: 261 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[tool.poetry]
name = "pyncov"
version = "0.1.0"
license = "MIT"
description = "Pyncov-19 is a tiny probabilistic simulator for SARS-CoV-2"
authors = ["Pablo R. Mier <pablo.rodriguez-mier@inrae.fr>"]
repository = "https://github.com/covid19-modeling/pyncov-19"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Mathematics",
"License :: OSI Approved :: MIT License",
"Natural Language :: English"
]

[tool.poetry.dependencies]
python = "^3.7"
numpy = "^1.18.1"
tqdm = { version = "^4.46.0", optional = true }

[tool.poetry.extras]
tqdm = ["tqdm"]

[tool.poetry.dev-dependencies]
pytest = "^5.2"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
Empty file added tests/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions tests/test_pyncov.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from pyncov import __version__


def test_version():
assert __version__ == '0.1.0'

0 comments on commit 79fb1bf

Please sign in to comment.