{"id":20850447,"url":"https://github.com/noteed/openerpdist","last_synced_at":"2025-03-12T12:25:46.313Z","repository":{"id":7122382,"uuid":"8417102","full_name":"noteed/openerpdist","owner":"noteed","description":"Build the OpenERP framework and addons as nice tarballs","archived":false,"fork":false,"pushed_at":"2014-02-09T15:40:03.000Z","size":377,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-19T06:11:32.882Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://noteed.com/openerpdist/","language":"Haskell","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/noteed.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":"2013-02-25T20:05:49.000Z","updated_at":"2014-02-09T15:40:03.000Z","dependencies_parsed_at":"2022-08-27T17:11:31.963Z","dependency_job_id":null,"html_url":"https://github.com/noteed/openerpdist","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/noteed%2Fopenerpdist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noteed%2Fopenerpdist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noteed%2Fopenerpdist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noteed%2Fopenerpdist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noteed","download_url":"https://codeload.github.com/noteed/openerpdist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243216121,"owners_count":20255318,"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-11-18T03:09:31.931Z","updated_at":"2025-03-12T12:25:46.294Z","avatar_url":"https://github.com/noteed.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openerpdist - Packaging and distributing OpenERP\n\n`openerpdist` builds the OpenERP framework and addons as nice tarballs, ready\nto be uploaded to pypi with minimal changes from upstream sources.\n\nThis project is unsupported by OpenERP s.a.\n\nPlease note that even if `openerpdist` itself uses a 3-clause BSD license, the\nresulting packages remain under the AGPL license.\n\n## Details\n\n`openerpdist` builds packages ready to be consumed by the Python\ninfrastructure. In particular, it uses the regular `setup.py` files (using\n`setuptools`), and the resulting tarballs are installable using e.g. `pip`.\n\nOne possible usage is to generate the desired packages and make them available\nthrough a web server with an HTML listing (e.g. Nginx with `autoindex on`).\nPackages can then be installed for instance in a new virtual env:\n\n    \u003e virtualenv2 oe-env\n    \u003e oe-env/bin/pip install openerp-sale \\\n        --no-index \\\n        --find-links http://localhost/tarballs\n        \nor alternatively you can edit [`$HOME/.pip/pip.conf`](http://www.pip-installer.org/en/latest/configuration.html#configuration) file and append:\n\n    [global]\n    find-links =\n        http://localhost/tarballs\n\nand then just use:\n\n    \u003e virtualenv2 oe-env\n    \u003e oe-env/bin/pip install openerp-sale\n\nPackage dependencies are extracted from the `__openerp__.py` descriptor files\nand listed in the generated `setup.py` files. This means that installing, say,\n`openerp-sale` will install all its dependencies, including `openerp-core` (the\npackage for the server/framework).\n\n## Install\n\nThe development version can be installed by cloning the Git repository and using cabal:\n\n    \u003e git clone git://github.com/noteed/openerpdist.git\n    \u003e cd openerpdist \u0026\u0026 cabal install\n\n## Usage\n\n`openerpdist` is simple to use, either within the server source directory, or\nwithin a specific addons, or from a directory containing multiple addons.\n\nThe command\n\n    \u003e openerpdist patch\n\nwhen run inside a serve source tree, will replace the existing `setup.py` and\n`MANIFEST.in` files; for addons it will generate a `setup.py` file. Note that\nit will first check with `bzr diff` if the directory (assumed to be a `.bzr`\nrepository) is clean.\n\nOnce done, you can simply execute\n\n    \u003e openerpdist sdist\n\nto generate some nice tarballs inside the newly created `dist` directories.\n\n## Other dependencies\n\n`openerpdist` lists the correct dependencies in the `setup.py` file. This is\nenough for Python dependencies. But in addition, some of those dependencies,\nand thus indirectly the packaged OpenERP libraries, need libraries and\nprograms to be installed with your operating system facilities.\n\nOn Ubuntu 12.04 those additional dependencies are:\n\n(The list is incomplete for now.)\n\n- libjpeg-dev\n- zlib1g-dev\n\nlibjpeg-dev and zlib1g-dev are for JPEG and ZIP support in Pillow (`openerpdist`\nsets Pillow instead of PIL).\n\n## Limitations / TODO\n\n- Assume the directories where `openerpdist` is run are `bzr` repositories.\n- Does not generate a README file from the `__openerp__.py` descriptor.\n- The version used for each package is hard-coded to 7.0.1.\n- The listed dependencies for `openerp-core` are not correct (too many things,\n  required by some addons) while the ones for the addons don't list the\n  non-openerp dependencies.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoteed%2Fopenerpdist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoteed%2Fopenerpdist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoteed%2Fopenerpdist/lists"}