Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ __pycache__/
# Distribution / packaging
dist
*.egg-info
pandoc-*-amd64.deb
pandoc-*-windows-x86_64.msi
pandoc-*-x86_64-macOS.pkg
README.rst

# Environments
.venv/
Expand All @@ -19,5 +15,5 @@ venv/
# Other
kubectl.exe
/build
/.vscode
/site
/.vscode
/site
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[build-system]
requires = [
"setuptools",
"pypandoc"
"setuptools"
]
build-backend = "setuptools.build_meta"
8 changes: 2 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@
sys.path.insert(0, 'src')


if not os.path.exists('README.rst'):
import pypandoc
pypandoc.download_pandoc(targetfolder='~/bin/')
pypandoc.convert_file('README.md', 'rst', outputfile='README.rst')

here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

# Maintain a single source of versioning
Expand Down Expand Up @@ -54,6 +49,7 @@ def get_version(rel_path):
license='Eclipse Public License - v1.0',
description='Python for Maximo Application Suite Dev/Ops',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=[
'pyyaml', # MIT License
'openshift', # Apache Software License
Expand Down
Loading