aboutsummaryrefslogtreecommitdiffstats
path: root/setup-standalone.in
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-01-22 09:42:09 +0100
committerTristan Gingold <tgingold@free.fr>2023-01-22 09:42:09 +0100
commit55dfa111c5eeedc0ffc59282992169ad7bf571af (patch)
tree00d38a48165f8f8ceae5642dbf920f6d99335068 /setup-standalone.in
parenteaf79618a20465ef015cca2810f6f139bd9b0cf0 (diff)
downloadghdl-55dfa111c5eeedc0ffc59282992169ad7bf571af.tar.gz
ghdl-55dfa111c5eeedc0ffc59282992169ad7bf571af.tar.bz2
ghdl-55dfa111c5eeedc0ffc59282992169ad7bf571af.zip
Add scripts/win-dll.py and adjust Makefile.in
Diffstat (limited to 'setup-standalone.in')
-rw-r--r--setup-standalone.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup-standalone.in b/setup-standalone.in
index 7c7c8d4ff..1cbd6a86f 100644
--- a/setup-standalone.in
+++ b/setup-standalone.in
@@ -1,4 +1,4 @@
-# =============================================================================
+# == -*- python -*- ===========================================================
# ____ _ _ ____ _
# _ __ _ _ / ___| | | | _ \| |
# | '_ \| | | | | _| |_| | | | | |
@@ -33,7 +33,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# ============================================================================
#
-from setuptools import setup, find_packages, Distribution
+from setuptools import setup, find_namespace_packages, Distribution
from pathlib import Path
from pyTooling.Packaging import loadRequirementsFile
@@ -55,6 +55,7 @@ package_data=[]
package_data.extend(glob.glob(dist_dir+"/lib/ghdl/**/*.vhdl", recursive=True))
package_data.extend(glob.glob(dist_dir+"/lib/ghdl/**/*.cf", recursive=True))
package_data.extend(glob.glob(dist_dir+"/lib/lib*" + soext))
+package_data.extend(glob.glob(dist_dir+"/bin/lib*" + soext))
package_data=[x[len(dist_dir)+1:] for x in package_data]
setup(
@@ -70,7 +71,7 @@ setup(
project_urls={"Documentation": "https://ghdl.github.io/ghdl",
"Source Code": "https://github.com/ghdl/ghdl",
"Issue Tracker": "https://github.com/ghdl/ghdl/issues"},
- packages=find_packages("dist-wheel"),
+ packages=find_namespace_packages("dist-wheel"),
package_dir={"": "dist-wheel"},
classifiers=[
"Programming Language :: Python :: 3 :: Only",