Skip to content

Commit eb129c4

Browse files
authored
MAINT Fix long description format in setup.py (#107)
1 parent 251650b commit eb129c4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#! /usr/bin/env python
2-
"""A template for scikit-learn compatible packages."""
3-
4-
import codecs
52
import os
63

74
from setuptools import find_packages, setup, Extension
@@ -18,7 +15,7 @@
1815

1916
DISTNAME = "scikit-learn-extra"
2017
DESCRIPTION = "A set of tools for scikit-learn."
21-
with codecs.open("README.rst", encoding="utf-8-sig") as f:
18+
with open("README.rst", encoding="utf-8") as f:
2219
LONG_DESCRIPTION = f.read()
2320
URL = "https://github.com/scikit-learn-contrib/scikit-learn-extra"
2421
LICENSE = "new BSD"
@@ -91,6 +88,7 @@
9188
setup(
9289
name=DISTNAME,
9390
description=DESCRIPTION,
91+
long_description_content_type="text/x-rst",
9492
license=LICENSE,
9593
url=URL,
9694
version=VERSION,

0 commit comments

Comments
 (0)