{"id":15517092,"url":"https://github.com/deric/uwsgi-deb-packaging","last_synced_at":"2025-04-04T10:25:31.239Z","repository":{"id":21400761,"uuid":"24718669","full_name":"deric/uwsgi-deb-packaging","owner":"deric","description":"custom package with python3 support","archived":false,"fork":false,"pushed_at":"2014-12-22T10:03:32.000Z","size":180,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T20:42:07.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":"Unmaintained","scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deric.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-02T12:52:31.000Z","updated_at":"2017-03-01T22:54:07.000Z","dependencies_parsed_at":"2022-08-05T21:15:11.567Z","dependency_job_id":null,"html_url":"https://github.com/deric/uwsgi-deb-packaging","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deric%2Fuwsgi-deb-packaging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deric%2Fuwsgi-deb-packaging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deric%2Fuwsgi-deb-packaging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deric%2Fuwsgi-deb-packaging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deric","download_url":"https://codeload.github.com/deric/uwsgi-deb-packaging/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247158871,"owners_count":20893518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T10:11:33.000Z","updated_at":"2025-04-04T10:25:31.218Z","avatar_url":"https://github.com/deric.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uwsgi deb package\n\nCustom uwsgi package\n\nusage:\n```\n./build_uwsgi\n```\n\n  * specific version\n  ```\n  ./build_uwsgi --version 2.0.7\n  ```\n  * with Python 3.4:\n  ```\n  ./build_uwsgi --version 2.0.7 --python \"python3.4\"\n  ```\n  * for Python 2.7 just use:\n  ```\n  ./build_uwsgi --version 2.0.7 --python \"python\"\n  ```\n\n## flags\n\n  * `version` - uwsgi version\n  * `patch` - fix version which is appended to real package version, e.g.: `--patch -1` will produce package version `2.0.7-1`\n  * `python` - specify Python version which is used for building\n\n## plugins\n\nThe main uwsgi building logic is around line 72:\n\n```bash\n $python uwsgiconfig.py --build core\n $python uwsgiconfig.py --build package\n $python uwsgiconfig.py --plugin plugins/python core python32\n $python uwsgiconfig.py --plugin plugins/carbon core\n\n```\n\n## requirements\n\nPackage is build using FPM\n\n  - `apt-get install build-essential`\n  - some ruby version, e.g. `apt-get install ruby1.9.3`\n  - `gem install fpm`\n  - `apt-get install python3 python3-dev` if you want python3 support\n  - `apt-get install libpcre3 libpcre3-dev` - for perl regexp support\n  - `apt-get install libssl-dev` - required for SSL support\n  - `apt-get install libjansson-dev` - JSON support\n\n## TODO\n\n  * allow easier uwsgi customization\n\n\n## uwsgi configuration\n\nuswgi configuration is detected based on libraries installed on your system, make sure that the config matches your expectations:\n\n```\n################# uWSGI configuration #################\n\npcre = True\nkernel = Linux\nmalloc = libc\nexecinfo = False\nifaddrs = True\nssl = True\nzlib = True\nlocking = pthread_mutex\nplugin_dir = /usr/lib/uwsgi\ntimer = timerfd\nyaml = embedded\njson = jansson\nfilemonitor = inotify\nrouting = True\ndebug = False\ncapabilities = False\nxml = expat\nevent = epoll\n\n```\n\n## Pyenv\n\nWhen using Python from `pyenv` make sure you've build it with `--enable-shared` flag.\n\n```\n$ env PYTHON_CONFIGURE_OPTS=\"--enable-shared\" pyenv install 3.4.2\n$ pyenv global 3.4.2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderic%2Fuwsgi-deb-packaging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderic%2Fuwsgi-deb-packaging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderic%2Fuwsgi-deb-packaging/lists"}