{"id":13814350,"url":"https://github.com/jamescasbon/pypackage","last_synced_at":"2025-05-15T03:33:55.848Z","repository":{"id":5974155,"uuid":"7196013","full_name":"jamescasbon/pypackage","owner":"jamescasbon","description":"Ship virtualenvs as deb or rpm","archived":false,"fork":false,"pushed_at":"2013-01-15T12:28:15.000Z","size":178,"stargazers_count":104,"open_issues_count":2,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-04T04:05:34.866Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamescasbon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-16T22:12:10.000Z","updated_at":"2024-02-06T10:23:52.000Z","dependencies_parsed_at":"2022-09-03T08:01:37.089Z","dependency_job_id":null,"html_url":"https://github.com/jamescasbon/pypackage","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/jamescasbon%2Fpypackage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescasbon%2Fpypackage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescasbon%2Fpypackage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescasbon%2Fpypackage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamescasbon","download_url":"https://codeload.github.com/jamescasbon/pypackage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225326452,"owners_count":17456943,"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-08-04T04:01:54.785Z","updated_at":"2024-11-19T09:30:40.361Z","avatar_url":"https://github.com/jamescasbon.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"pypackage\n=========\n\nCreate RPMs or DEBs from a requirement file.\n\nExample\n-------\n\nCreate a pip requirements file:\n    \n    $ cat pyvcf.txt\n    cython\n    pysam\n    pyvcf\n\nRun pypackage on it: \n\n    $ pypackage.py pyvcf.txt\n    ...\n    Created deb package {\"path\":\"/home/james/Src/scratch/pyvcf_1.0_i386.deb\"}\n\nInstall package and use:\n\n    $ sudo dpkg -i pyvcf_1.0_i386.deb\n    (Reading database ... 340558 files and directories currently installed.)\n    Preparing to replace pyvcf 1.0 (using pyvcf_1.0_i386.deb) ...\n    Unpacking replacement pyvcf ...\n    Setting up pyvcf (1.0) ...\n\n    $ vcf_filter.py\n    usage: vcf_filter.py [-h] [--no-short-circuit] [--no-filtered]\n\n\nWhat it does\n------------\n\nThis script creates a virtual environment, uses pip to install your requirements, \nfixes up the environment to use the correct paths, creates links from /usr/local/bin\nto any scripts and then uses fpm to build a DEB/RPM.\n\nWhy?\n----\n\nBecause you want to ship an entire virtual environment and not rely on system \npackages for python or python libraries.\n\nInstalling\n----------\n\nFor the moment, you need to install fpm (`gem install fpm`) and ensure it is \non your PATH.  Then clone this repository and run `pypackage.py`.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamescasbon%2Fpypackage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamescasbon%2Fpypackage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamescasbon%2Fpypackage/lists"}