Skip to content

Commit 0e203f7

Browse files
committed
modify readme + setup.py to render on pypi
1 parent c1775c3 commit 0e203f7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ via:
3434
```
3535
pip install -e .
3636
```
37+
3738
## Contributing
39+
3840
Contributions through issues, feature requests, and pull requests are welcome.
3941
Guidelines are provided [here](CONTRIBUTING.md).

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@
77
with open(version_file, "r") as fr:
88
version = fr.read().strip()
99

10+
readme_file = os.path.join(os.path.dirname(__file__), "README.md")
11+
with open(readme_file, "r") as fr:
12+
long_description = fr.read().strip()
13+
1014

1115
setup(
1216
name="autocat",
1317
version=version,
1418
description="Tools for automated generation of catalyst structures and sequential learning",
19+
long_description=long_description,
20+
long_description_content_type="text/markdown",
1521
url="https://github.com/aced-differentiate/auto_cat",
1622
author="Lance Kavalsky",
1723
author_email="lkavalsk@andrew.cmu.edu",
@@ -22,6 +28,6 @@
2228
],
2329
package_dir={"": "src"},
2430
packages=find_packages(where="src"),
25-
install_requires=["numpy", "ase", "pymatgen", "fire",],
31+
install_requires=["numpy", "ase", "pymatgen", "fire"],
2632
include_package_data=True,
2733
)

0 commit comments

Comments
 (0)