Skip to content

Gunicorn-22.0.0 egg file not building properly. Missing directories. #3203

Closed
@ajayhb

Description

@ajayhb

On downloading the source code and building it locally in ubuntu / freebsd box,
I see only the following directories created inside the egg file:

EGG-INFO        
__init__.py    
__main__.py    
__pycache__     
arbiter.py      
config.py      
debug.py        
errors.py       
glogging.py     
pidfile.py      
reloader.py     
sock.py        
systemd.py      
util.py

I get the error while starting / stopping the services:

/usr/local/bin/python: can't open file 
'/var/python/lib/python3.9/site-packages/gunicorn-22.0.0-py3.9.egg/gunicorn/app/wsgiapp.py': 
[Errno 2] No such file or directory

As it does not have the following path inside the egg file: "gunicorn/app/wsgiapp.py", Therefore the services are not starting / stopping.

I am trying to build gunicorn by creating a manual setup.py inside the root dir, with the following content inside setup.py:

from __future__ import annotations

from setuptools import setup

setup(name='gunicorn', version='22.0.0', packages=[''], package_dir={"": "gunicorn"})

What am I missing?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions