install_requires=install_requires, packages=find_packages(exclude=["tests"]), package_data=find_package_data("flexget", package="flexget", exclude=["FlexGet.egg-info","*.pyc"], only_in_packages=False),#NOTE:the exclude does not seem to workzip_safe=False, test_suite="nose.collector", e...
dist.packages =find_packages(exclude=['*tests*']) dist.test_suite ='bitten.tests.suite'dist.package_data = {'bitten': ['htdocs/*.*','templates/*.html','templates/*.txt']} dist.entry_points['trac.plugins'] = ['bitten.admin = bitten.admin','bitten.main = bitten.main','bitten.mas...
getargspec(find_packages) ArgSpec(args=['cls', 'where', 'exclude', 'include'], varargs=None, keywords=None, defaults=('.', (), ('*',))) (Pdb) find_packages.__module__ 'setuptools' (Pdb) import setuptools (Pdb) setuptools.__version__ '21.0.0' It also works for me, though, ...
I don't see a good solution here, except for Setuptools to get out of the business of managing packages, modules, and their data and to instead model discovery of files for the build that could be packages or modules or data, and provide mechanisms to include/exclude those generally. Pleas...
def test_pep420_ns_package_no_includes(self): packages = find_namespace_packages( self.dist_dir, exclude=['pkg.subpkg.assets']) self._assert_packages( packages, ['docs', 'pkg', 'pkg.nspkg', 'pkg.subpkg']) Example #11Source File: test_find_packages.py From setuptools with MIT Lice...
importpipfromos.pathimportjoinforpackageinpip.get_installed_distributions():print(package.location)# you can exclude packages that's in /usr/XXXprint(join(package.location, package._get_metadata("top_level.txt")))# root directory of this package ...
{ "compilerOptions": { "declaration": true, "paths": { "@common/*": ["./common/*"] }, "typeRoots": ["./node_modules/@types"] }, "exclude": ["node_modules"], "include": ["**/vite.config.mts", "**/*.d.ts", "**/*.ts", "**/*.tsx"] } package.json { "na...
packages=setuptools.find_packages(exclude=['tests']), include_package_data=False, scripts=['tools/sl4a_shell.py','tools/snippet_shell.py'], tests_require=['mock',# Needed for supporting Python 2 because this release stopped supporting Python 2.'pytest<5.0.0','pytz', ...
packages=find_packages(exclude=['examples','tests','tests.*']), url='https://github.com/FenTechSolutions/CausalDiscoveryToolbox', package_data={'': ['**/*.R','**/*.csv']}, install_requires=['numpy','scipy','scikit-learn','joblib','pandas','statsmodels','networkx','skrebate','...
def test_exclude(self): self._touch('__init__.py', self.pkg_dir) packages = find_packages(self.dist_dir, exclude=('pkg.*',)) assert packages == ['pkg'] def test_exclude_recursive(self): """ Excluding a parent package should not exclude child packages as well....