File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 2020# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
2121#
2222
23- __version__ = "0.3.5.dev0 "
23+ __version__ = "0.4a1 "
Original file line number Diff line number Diff line change 11import os
2- import codecs
2+ from pathlib import Path
33from setuptools import find_packages , setup
44
55try :
1616# Python import machinery.
1717builtins .__MLRESEARCH_SETUP__ = True
1818
19+
20+ def get_long_description () -> str :
21+ CURRENT_DIR = Path (__file__ ).parent
22+ return (CURRENT_DIR / "README.md" ).read_text (encoding = "utf8" )
23+
24+
1925import mlresearch ._min_dependencies as min_deps
2026
2127ver_file = os .path .join ("mlresearch" , "_version.py" )
2935SHORT_DESCRIPTION = (
3036 "Implementation of Machine Learning algorithms, experiments and utilities."
3137)
32- with codecs .open ("README.md" , encoding = "utf-8-sig" ) as f :
33- LONG_DESCRIPTION = f .read ()
3438LICENSE = "MIT"
3539CLASSIFIERS = [
3640 "Intended Audience :: Science/Research" ,
6064 download_url = URL ,
6165 version = VERSION ,
6266 description = SHORT_DESCRIPTION ,
63- long_description = LONG_DESCRIPTION ,
67+ long_description = get_long_description (),
68+ long_description_content_type = "text/markdown" ,
6469 license = LICENSE ,
6570 classifiers = CLASSIFIERS ,
6671 packages = find_packages (),
You can’t perform that action at this time.
0 commit comments