Skip to content

Commit da918ae

Browse files
authored
Update setup.py
1 parent 7a131cf commit da918ae

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

setup.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
1+
import os
12
from setuptools import setup, find_packages
23

4+
BASE_DIR = os.path.dirname(__file__)
5+
README_PATH = os.path.join(BASE_DIR, "README.md")
6+
LONG_DESCRIPTION_TYPE = "text/markdown"
7+
8+
if os.path.isfile(README_PATH):
9+
with io.open(README_PATH, encoding="utf-8") as f:
10+
LONG_DESCRIPTION = f.read()
11+
else:
12+
LONG_DESCRIPTION = ""
13+
314

415
setup(
516
name="github-deploy",
617
version="0.0.1",
718
description="Deploy yaml files to a large number of repositories in seconds.",
19+
long_description=LONG_DESCRIPTION,
20+
long_description_content_type=LONG_DESCRIPTION_TYPE,
821
url="https://github.com/tj-python/github-deploy",
922
entry_points={
1023
"console_scripts": [

0 commit comments

Comments
 (0)