question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

find_packages_ns not present in 40.0.0, but added to documentation

See original GitHub issue

Hi,

I see that the method find_pacakges_ns has been added to the documentation for the latest version.

find_packages_ns

But the code is not included in the 40.0.0 release, although it is part of the master branch.

>>> import setuptools >>> >>> setuptools.__version__ '40.0.0' >>> >>> >>> setuptools.find_packages_ns() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'setuptools' has no attribute 'find_packages_ns' >>>

init.py - 40.0.0

init.py - master

find_packages_ns - Line: 121

Support for find_packages_ns is the latest commit on this branch 19 days ago.

And 40.0.0 was released 14 days ago.

Seems like this commit was missed to be included in the release.

-jatin

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
thebalaacommented, Aug 1, 2018

Temporary workaround:

from setuptools import setup, PEP420PackageFinder
PEP420PackageFinder().find(include=['foo.*'])

I found this in setuptools code: find_packages_ns = PEP420PackageFinder.find

1reaction
pgansslecommented, Aug 19, 2018

With the release of 40.1.0, find_namespace_packages is now available. Sorry for the delay y’all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade Expo SDK
Learn how to incrementally upgrade the Expo SDK version in your project.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found