mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
Fix distribution naming
This commit is contained in:
@ -61,6 +61,11 @@ else:
|
||||
libs = mysql_config("libs")
|
||||
client = "mysqlclient"
|
||||
|
||||
name = "MySQL-%s" % os.path.basename(sys.executable)
|
||||
if enabled('embedded'):
|
||||
name = name + "-embedded"
|
||||
metadata['name'] = name
|
||||
|
||||
library_dirs = [ dequote(i[2:]) for i in libs if i.startswith("-L") ]
|
||||
libraries = [ dequote(i[2:]) for i in libs if i.startswith("-l") ]
|
||||
|
||||
|
Reference in New Issue
Block a user