Cross package maker. DEB/RPM generation or conversion. Derived from jordansissel/fpm.

⌈⌋ branch:  cross package maker

Artifact Content

Artifact f6b3f47d53367ff279225cba8f1e229438319f2b:

  • File templates/pip.erb — part of check-in [d275f1986b] at 2015-05-05 12:07:38 on branch trunk — Add crude Python bdist_wheel generation method. Only tested with singular packages. Hack to relocate single module scripts into pkgname subdir + stub Otherwise relies on -s src or -s dir file relocation. Would require more complete `` creation to package anything more useful. (user: mario size: 572)

# encoding: utf-8
# type: wrapper
# description: fpm/xpm -t pip generated

from setuptools import setup

    name="<%= name %>",
    version="<%= version %>",
    author="<%= @author %>",
    author_email="<%= @author_email %>",
    packages=["<%= name %>"],
    # include_package_data=True,
    url="<%= url %>",
    license="<%= license %>",
    description=<%=  (description or "").split("\n")[0].to_json  %>,
    long_description=<%=  (description).to_json  %>,
    install_requires=<%=  dependencies.collect { |e| e.sub(/\W.*$/, "") }.to_json  %>,