Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add default long description text for emmet-core #1013

Merged
merged 1 commit into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion emmet-core/setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
import os

from setuptools import find_namespace_packages, setup

readme_path = os.path.join(os.path.dirname(__file__), "..", "README.md")
if os.path.exists(readme_path):
with open(readme_path) as f:
long_description = f.read()
else:
long_description = "Core Emmet Library"


setup(
name="emmet-core",
use_scm_version={"root": "..", "relative_to": __file__},
setup_requires=["setuptools_scm"],
description="Core Emmet Library",
author="The Materials Project",
author_email="[email protected]",
long_description=open("../README.md").read(), # noqa: SIM115
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/materialsproject/emmet",
packages=find_namespace_packages(include=["emmet.*"]),
Expand Down
Loading