Skip to content

Commit

Permalink
Added README contents as package description
Browse files Browse the repository at this point in the history
  • Loading branch information
eranco74 committed Feb 25, 2021
1 parent 71da9f7 commit 367018a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
import io
import os
import sys
import setuptools
from setuptools import setup

# Workaround: bdist_wheel doesn't support absolute paths in data_files
# (see: https://bitbucket.org/pypa/wheel/issues/92).
if os.getuid() == 0 and 'bdist_wheel' in sys.argv:
raise RuntimeError("This setup.py does not support wheels")

setuptools.setup(
# 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
pbr=True,
long_description=long_description,
long_description_content_type='text/markdown'
)

0 comments on commit 367018a

Please sign in to comment.