Skip to content

Commit

Permalink
Moved project description to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
eranco74 committed Feb 25, 2021
1 parent 367018a commit 9bad2b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ author-email = [email protected]
home-page = http://github.com/Stratoscale/skipper
summary = Easily dockerize your Git repository
license = Apache-2
long_description = file: README.md
long_description_content_type = text/markdown

requires-dist = setuptools

Expand Down
8 changes: 0 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import io
import os
import sys
from setuptools import setup
Expand All @@ -8,17 +7,10 @@
if os.getuid() == 0 and 'bdist_wheel' in sys.argv:
raise RuntimeError("This setup.py does not support wheels")

# read the contents the README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(this_directory, 'README.md'), 'r', encoding='utf-8') as f:
long_description = f.read()

setup(
setup_requires=[
'pbr >= 1.9',
'setuptools >= 17.1'
],
pbr=True,
long_description=long_description,
long_description_content_type='text/markdown'
)

0 comments on commit 9bad2b6

Please sign in to comment.