##// END OF EJS Templates
setupbase.py: Remove duplication of package_data
Matthias Koeppe -
Show More
@@ -4,7 +4,6 b' include LICENSE'
4 4 include setupbase.py
5 5 include _build_meta.py
6 6 include MANIFEST.in
7 include py.typed
8 7 include .mailmap
9 8 include .flake8
10 9 include .pre-commit-config.yaml
@@ -188,7 +188,6 b' pythonPlatform="All"'
188 188 zip-safe = false
189 189 platforms = ["Linux", "Mac OSX", "Windows"]
190 190 license-files = ["LICENSE"]
191 include-package-data = false
192 191
193 192 [tool.setuptools.packages.find]
194 193 exclude = ["setupext"]
@@ -89,26 +89,9 b' def find_packages():'
89 89 return packages
90 90
91 91 #---------------------------------------------------------------------------
92 # Find package data
92 # Check package data
93 93 #---------------------------------------------------------------------------
94 94
95 def find_package_data():
96 """
97 Find IPython's package_data.
98 """
99 # This is not enough for these things to appear in an sdist.
100 # We need to muck with the MANIFEST to get this to work
101
102 package_data = {
103 'IPython.core' : ['profile/README*'],
104 'IPython.core.tests' : ['*.png', '*.jpg', 'daft_extension/*.py'],
105 'IPython.lib.tests' : ['*.wav'],
106 'IPython.testing.plugin' : ['*.txt'],
107 }
108
109 return package_data
110
111
112 95 def check_package_data(package_data):
113 96 """verify that package_data globs make sense"""
114 97 print("checking package data")
General Comments 0
You need to be logged in to leave comments. Login now