Skip to content

Commit

Permalink
changes for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
paradigmn committed Dec 21, 2020
1 parent df7ea24 commit 5ac0282
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,19 @@
from setuptools import setup


def readme():
""" load readme file for pypi integration """
with open("README.md") as f:
return f.read()
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

version = {}
with open(
os.path.join(os.path.dirname(__file__), "ultrastar_pitch", "version.py")
) as fp:
with open(os.path.join(os.path.dirname(__file__), "ultrastar_pitch", "version.py")) as fp:
exec(fp.read(), version)

setup(
name="ultrastar_pitch",
version=version["__version__"],
description="Automate the pitch detection process for Ultrastar Deluxe karaoke projects",
long_description=readme(),
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Intended Audience :: End Users/Desktop",
"Operating System :: Microsoft :: Windows",
Expand Down

0 comments on commit 5ac0282

Please sign in to comment.