Skip to content

Commit

Permalink
Merge pull request #5 from instadeepai/pypi
Browse files Browse the repository at this point in the history
Pypi
  • Loading branch information
BioGeek authored Sep 1, 2023
2 parents 25b6f30 + d54c63d commit 1bf9ffc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@

import setuptools
from setuptools import setup
from pathlib import Path

__version__ = "0.1.0"
__version__ = "0.1.2"


def read_requirements(file: str) -> list[str]:
"""Returns content of given requirements file."""
return [line for line in open(file) if not (line.startswith("#") or line.startswith("--"))]


this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()


setup(
name="instanovo",
version=__version__,
Expand All @@ -24,4 +29,6 @@ def read_requirements(file: str) -> list[str]:
install_requires=read_requirements("./requirements.txt"),
# extras_require={"dev": read_requirements("./requirements-dev.txt")},
include_package_data=True,
long_description=long_description,
long_description_content_type='text/markdown'
)

0 comments on commit 1bf9ffc

Please sign in to comment.