1PY2PACK(1)                         @VERSION@                        PY2PACK(1)
2
3
4

NAME

6       py2pack - Generate Distribution Packages from Python Packages on PyPI
7

SYNOPSIS

9       py2pack [-h] [--version] {search | help | show | list | fetch |
10               generate} ...
11

COMMANDS

13       The following commands are available:
14
15   The fetch Command
16       py2pack fetch  name [version]
17
18       Downloads a package from PyPI and stores it in the current directory.
19       Optionally you can specify a version number.
20
21   The generate Command
22       py2pack generate [-h] [-t {fedora.spec | opensuse.dsc | opensuse.spec}]
23                        [-f FILENAME] name [version]
24
25       Creates a SPEC or DSC file for a specific distribution.
26
27   The list Command
28       py2pack list [-h]
29
30       Gives a list of all Python modules available on PyPI.
31
32   The search Command
33       py2pack search [-h] {name}
34
35       Gives a list of all Python modules found in name.
36
37   The show Command
38       py2pack show [-h] {name} [version]
39
40       Shows the DOAP[1] record for the given name and version (optionally).
41       The output is a Python dictionary.
42

EXAMPLES

44       Creating a package from a Python module involves the following steps:
45
46        1. Search for your favorite Python module, for example, :
47
48               $ py2pack search pylint
49               searching for package pylint...
50               found logilab.pylintinstaller-0.15.2
51               found plpylint-0.1.2
52               found pylint-0.22.0
53
54        2. Download
55
56               $ py2pack fetch
57               downloading package pylint-0.22.0...
58               from http://pypi.python.org/packages/source/p/pylint/pylint-0.22.0.tar.gz
59
60        3. Create a SPEC file, for example, for openSUSE:
61
62               $ py2pack generate -t opensuse.spec -f python-pylint.spec pylint
63
64        4. Check the SPEC file python-pylint.spec and adapt it to your needs.
65

AUTHORS

67       Sascha Peilicke <sascha@peilicke.de>
68           Developer
69
70       Thomas Schraitle
71           Manpage author
72

NOTES

74        1. DOAP
75           http://usefulinc.com/doap
76
77
78
79http://github.com/saschpe/py      07/19/2011                        PY2PACK(1)
Impressum