File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 44
55import setuptools
66from setuptools import setup
7+ from pathlib import Path
78
8- __version__ = "0.1.0 "
9+ __version__ = "0.1.2 "
910
1011
1112def read_requirements (file : str ) -> list [str ]:
1213 """Returns content of given requirements file."""
1314 return [line for line in open (file ) if not (line .startswith ("#" ) or line .startswith ("--" ))]
1415
1516
17+ this_directory = Path (__file__ ).parent
18+ long_description = (this_directory / "README.md" ).read_text ()
19+
20+
1621setup (
1722 name = "instanovo" ,
1823 version = __version__ ,
@@ -24,4 +29,6 @@ def read_requirements(file: str) -> list[str]:
2429 install_requires = read_requirements ("./requirements.txt" ),
2530 # extras_require={"dev": read_requirements("./requirements-dev.txt")},
2631 include_package_data = True ,
32+ long_description = long_description ,
33+ long_description_content_type = 'text/markdown'
2734)
You can’t perform that action at this time.
0 commit comments