File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 3
3
import subprocess
4
4
from dss_setup_common import PLATFORM_FOLDER , DSS_VERSIONS , DLL_SUFFIX , DLL_PREFIX
5
5
6
+ # Copy README.md contents
7
+ with open ('README.md' , encoding = 'utf8' ) as readme_md :
8
+ long_description = readme_md .read ()
9
+
10
+ # Extract version from the source files
6
11
with open ('dss/v7/__init__.py' , 'r' ) as f :
7
12
match = re .search ("__version__ = '(.*?)'" , f .read ())
8
13
package_version = match .group (1 )
30
35
'dss' : ['*{}' .format (DLL_SUFFIX )]
31
36
})
32
37
33
-
34
38
setup (
35
39
name = "dss_python" ,
36
40
description = "OpenDSS bindings based on the DSS C-API project" ,
41
+ long_description = long_description ,
42
+ long_description_content_type = 'text/markdown' ,
37
43
author = "Paulo Meira" ,
38
44
author_email = "pmeira@ieee.org" ,
39
45
version = package_version ,
You can’t perform that action at this time.
0 commit comments