Skip to content

Commit

Permalink
MAINT Fix long description format in setup.py (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
rth authored Apr 14, 2021
1 parent 251650b commit eb129c4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#! /usr/bin/env python
"""A template for scikit-learn compatible packages."""

import codecs
import os

from setuptools import find_packages, setup, Extension
Expand All @@ -18,7 +15,7 @@

DISTNAME = "scikit-learn-extra"
DESCRIPTION = "A set of tools for scikit-learn."
with codecs.open("README.rst", encoding="utf-8-sig") as f:
with open("README.rst", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
URL = "https://github.com/scikit-learn-contrib/scikit-learn-extra"
LICENSE = "new BSD"
Expand Down Expand Up @@ -91,6 +88,7 @@
setup(
name=DISTNAME,
description=DESCRIPTION,
long_description_content_type="text/x-rst",
license=LICENSE,
url=URL,
version=VERSION,
Expand Down

0 comments on commit eb129c4

Please sign in to comment.