GithubHelp home page GithubHelp logo

mod_wsgi-feedstock's Introduction

About mod_wsgi-feedstock

Feedstock license: BSD-3-Clause

Home: https://modwsgi.readthedocs.io/en/developi/

Package license: Apache-2.0

Summary: Apache module that implements a WSGI compliant interface for hosting Python based web applications

Development: https://github.com/GrahamDumpleton/mod_wsgi

Documentation: https://modwsgi.readthedocs.io/en/develop/

mod_wsgi is a module for the Apache HTTP server that allows the web server to execute Python programs. WSGI (Web Server Gateway Interface) is a general interface between the Web server and Python applications.

Current build status

Azure
VariantStatus
linux_64_python3.10.____cpython variant
linux_64_python3.11.____cpython variant
linux_64_python3.12.____cpython variant
linux_64_python3.8.____cpython variant
linux_64_python3.9.____cpython variant
osx_64_python3.10.____cpython variant
osx_64_python3.11.____cpython variant
osx_64_python3.12.____cpython variant
osx_64_python3.8.____cpython variant
osx_64_python3.9.____cpython variant

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing mod_wsgi

Installing mod_wsgi from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, mod_wsgi can be installed with conda:

conda install mod_wsgi

or with mamba:

mamba install mod_wsgi

It is possible to list all of the versions of mod_wsgi available on your platform with conda:

conda search mod_wsgi --channel conda-forge

or with mamba:

mamba search mod_wsgi --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search mod_wsgi --channel conda-forge

# List packages depending on `mod_wsgi`:
mamba repoquery whoneeds mod_wsgi --channel conda-forge

# List dependencies of `mod_wsgi`:
mamba repoquery depends mod_wsgi --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating mod_wsgi-feedstock

If you would like to improve the mod_wsgi recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/mod_wsgi-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

mod_wsgi-feedstock's People

Contributors

cf-blacksmithy avatar conda-forge-admin avatar conda-forge-curator[bot] avatar ocefpaf avatar regro-cf-autotick-bot avatar reimarbauer avatar xhochy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mod_wsgi-feedstock's Issues

mod_wsgi.so file does not exist

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Ubuntu 20 linux

After I successfully run this command:
conda install -c conda-forge mod_wsgi

I'm unable to find mod_wsgi.so

I need this file to use with apache 2.4

Installed packages

:~/miniconda3/envs$ conda list
# packages in environment at /var/www/miniconda3/envs/myenv:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                  2_kmp_llvm    conda-forge
bzip2                     1.0.8                h7b6447c_0
ca-certificates           2023.7.22            hbcca054_0    conda-forge
click                     8.0.4           py311h06a4308_0
flask                     2.2.2           py311h06a4308_0
itsdangerous              2.0.1              pyhd3eb1b0_0
jinja2                    3.1.2           py311h06a4308_0
ld_impl_linux-64          2.38                 h1181459_1
libffi                    3.4.4                h6a678d5_0
libgcc-ng                 13.1.0               he5830b7_0    conda-forge
libstdcxx-ng              11.2.0               h1234567_1
libuuid                   1.41.5               h5eee18b_0
llvm-openmp               14.0.6               h9e868ea_0
markupsafe                2.1.1           py311h5eee18b_0
mod_wsgi                  4.9.4           py311hd4cff14_1    conda-forge
ncurses                   6.4                  h6a678d5_0
openssl                   3.1.2                hd590300_0    conda-forge
pip                       23.2.1          py311h06a4308_0
python                    3.11.4               h955ad1f_0
python_abi                3.11                    2_cp311    conda-forge
readline                  8.2                  h5eee18b_0
setuptools                68.0.0          py311h06a4308_0
sqlite                    3.41.2               h5eee18b_0
tk                        8.6.12               h1ccaba5_0
tzdata                    2023c                h04d1e81_0
werkzeug                  2.2.3           py311h06a4308_0
wheel                     0.38.4          py311h06a4308_0
xz                        5.4.2                h5eee18b_0
zlib                      1.2.13               h5eee18b_0

Environment info

:~/miniconda3/envs$ conda info

     active environment : myenv
    active env location : /var/www/miniconda3/envs/myenv
            shell level : 2
       user config file : /var/www/.condarc
 populated config files :
          conda version : 23.7.2
    conda-build version : not installed
         python version : 3.11.4.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.31=0
                          __linux=5.4.0=0
                          __unix=0=0
       base environment : /var/www/miniconda3  (writable)
      conda av data dir : /var/www/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /var/www/miniconda3/pkgs
                          /var/www/.conda/pkgs
       envs directories : /var/www/miniconda3/envs
                          /var/www/.conda/envs
               platform : linux-64
             user-agent : conda/23.7.2 requests/2.31.0 CPython/3.11.4 Linux/5.4.0-155-generic ubuntu/20.04.6 glibc/2.31
                UID:GID : 33:33
             netrc file : None
           offline mode : False

in py311 mod_wsgi-express install-module crashes

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

root@demo-system:/etc/apache2/mods-enabled# /home/user/Miniforge/envs/mssenv/bin/mod_wsgi-express  install-module
Traceback (most recent call last):
  File "/home/user/Miniforge/envs/mssenv/bin/mod_wsgi-express", line 11, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/mod_wsgi/server/__init__.py", line 3843, in main
    cmd_install_module(args)
  File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/mod_wsgi/server/__init__.py", line 3779, in cmd_install_module
    shutil.copyfile(where(), target)
  File "/home/user/Miniforge/envs/mssenv/lib/python3.11/shutil.py", line 258, in copyfile
    with open(dst, 'wb') as fdst:
         ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib64/httpd/modules/mod_wsgi-py311.cpython-311-x86_64-linux-gnu.so'

When using the version from pypi there is not such an error

Installed packages

TBD

Environment info

TBD

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.