Skip to content

Commit ce18b62

Browse files
committed
Updated setup.py and added pypi requirements
1 parent 65a6c24 commit ce18b62

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,17 @@ def find_version(*file_paths):
3131
return version_match.group(1)
3232
raise RuntimeError("Unable to find version string.")
3333

34+
with open("README.md", "r") as pd:
35+
long_description = pd.read()
36+
3437
version = find_version("labfis", "__init__.py")
35-
long_description = "Adds a new float class type with an float and uncertainty value"
3638

3739
APP_NAME = "labfis"
3840
APP_DESCRIPTION = "Adds a new float type with uncertainty"
3941
AUTHOR = "Hendrik Dumith Louzada, João Carlos Rodrigues Júnior"
4042
AUTHOR_EMAIL = "hendriklouzada@gmail.com, jc.rodrigues1997@usp.br"
4143
URL = "https://github.com/phisgroup/labfis.py"
44+
DOWNLOAD_URL = "https://pypi.org/project/labfis/"
4245
THEME_NAME = "Fusion"
4346
COPYRIGHT = "Copyright (C) 2020, labfis"
4447

@@ -60,7 +63,9 @@ def find_version(*file_paths):
6063
author=AUTHOR,
6164
author_email=AUTHOR_EMAIL,
6265
url=URL,
66+
download_url=DOWNLOAD_URL
6367
long_description=long_description,
68+
long_description_content_type="text/markdown",
6469
packages=find_packages(),
6570
classifiers=classifiers,
6671
python_requires=python_ver,

0 commit comments

Comments
 (0)