Giter Site home page Giter Site logo

Comments (7)

sdc50 avatar sdc50 commented on June 12, 2024

This is my temporary workaround:

cp ${CONDA_PREFIX}/lib/python3.1/site-packages/daphne/twisted/plugins/fd_endpoint.py ${CONDA_PREFIX}/lib/python3.1/site-packages/twisted/plugins/

from daphne.

carltongibson avatar carltongibson commented on June 12, 2024

Hi @sdc50 โ€” thanks for the report.

daphne/setup.cfg

Lines 26 to 29 in 6379093

[options]
package_dir =
twisted=daphne/twisted
packages = find:

That should be right. Ref https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#using-a-src-layout โ€” but apparently isn't ๐Ÿค”

Fancy experimenting a bit there?

from daphne.

sdc50 avatar sdc50 commented on June 12, 2024

It seems like switching find: to find_namespace: may do the trick.

[options]
package_dir=
    twisted=daphne/twisted
packages= find_namespace:

from daphne.

sdc50 avatar sdc50 commented on June 12, 2024

It seems like switching find: to find_namespace: may do the trick.

Never mind. It must have cached something. I think the only way I've been able to get it to work is by explicitly listed the packages:

[options]
package_dir=
    twisted=daphne/twisted
packages=
    daphne
    twisted.plugins

from daphne.

carltongibson avatar carltongibson commented on June 12, 2024

OK, reviewing the docs here I think manually specifying the packages is fine.

This can get tiresome really quickly.

Meh. I don't think it's really a problem here. ๐Ÿ™‚

I'm sure if we read more, we could get it working again, but not sure it's worth the bandwidth.

Would you like to make a PR?

from daphne.

carltongibson avatar carltongibson commented on June 12, 2024

Thanks @sdc50. I'll get a release out with this tomorrow morning.

from daphne.

carltongibson avatar carltongibson commented on June 12, 2024

Or today even ๐Ÿ˜‰

https://pypi.org/project/daphne/4.1.1/

from daphne.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.