Skip to content

Commit fc49004

Browse files
authored
🔧 Long and short description on pypi (#304)
1 parent cbddff0 commit fc49004

1 file changed

Lines changed: 17 additions & 9 deletions

File tree

setup.py

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,22 @@
1212
version = line.strip().split()[-1][1:-1]
1313
break
1414

15+
16+
def load_readme():
17+
with open("README.rst") as f:
18+
return f.read()
19+
20+
1521
setup(
16-
name = 'bibtexparser',
17-
version = version,
18-
url = "https://github.com/sciunto-org/python-bibtexparser",
19-
author = "Francois Boulogne and other contributors",
20-
license = "LGPLv3 or BSD",
21-
author_email = "devel@sciunto.org",
22-
description = "Bibtex parser for python 2.7 and 3.3 and newer",
23-
packages = ['bibtexparser'],
24-
install_requires = ['pyparsing>=2.0.3'],
22+
name='bibtexparser',
23+
version=version,
24+
url="https://github.com/sciunto-org/python-bibtexparser",
25+
author="Francois Boulogne and other contributors",
26+
license="LGPLv3 or BSD",
27+
author_email="devel@sciunto.org",
28+
description="Bibtex parser for python 3",
29+
long_description_content_type="text/x-rst",
30+
long_description=load_readme(),
31+
packages=['bibtexparser'],
32+
install_requires=['pyparsing>=2.0.3'],
2533
)

0 commit comments

Comments
 (0)