Skip to content

Commit

Permalink
Simplify and clean up setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
formatc1702 committed Oct 8, 2021
1 parent bb30f5e commit 17a54de
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,15 @@

from src.wireviz import __version__, CMD_NAME, APP_URL

# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(Path(__file__).parent / fname).read()
README_PATH = Path(__file__).parent / 'docs' / 'README.md'

setup(
name=CMD_NAME,
version=__version__,
author='Daniel Rojas',
#author_email='',
description='Easily document cables and wiring harnesses',
long_description=read(Path(__file__).parent / 'docs/README.md'),
long_description=open(README_PATH).read(),
long_description_content_type='text/markdown',
install_requires=[
'pyyaml',
Expand Down

0 comments on commit 17a54de

Please sign in to comment.