py2pack icon indicating copy to clipboard operation
py2pack copied to clipboard

Generate distribution packages from PyPI

Results 31 py2pack issues
Sort by recently updated
recently updated
newest added

+++ pytest is failing I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root...

To reproduce, perform a fetch, i.e.: ``` py2pack fetch oauthlib 2.0.1 ``` This results in the following error: ``` Traceback (most recent call last): File "/usr/local/bin/py2pack", line 11, in sys.exit(main())...

When trying to update jsonschema to the latest version, py2pack errors out: ``` $ py2pack generate -t opensuse.spec -f python-jsonschema.spec jsonschema generating spec file for jsonschema... Traceback (most recent call...

bug
enhancement

py2pack insists on going to PyPI instead of looking at the local source directory. Any plans to add the ability to generate from local packages?

For openSUSE spec files, the general naming pattern is `python-{packagename}.spec`. py2pack, however, creates spec files named `{packagename}.spec` by default, even though the package name inside the spec file is `python-{packagename}`.

openSUSE

Hello, I have done some updates to the spec teplate for Fedora. On one hand Fedora wants to prefer python3 packages over python2, on the other hand it is not...

needsinfo

Fedora and RHEL have split python packages in to "python2" and "python3 packages. Split up builds and packages accordingly to create distinct packages. Activate "Suggests:" only for RHEL or Fedora...

Split fedora compilation for python2 and python3 RPMs

```console generating spec file for ipyleaflet... Traceback (most recent call last): File "setup.py", line 7, in from jupyter_packaging import ( ModuleNotFoundError: No module named 'jupyter_packaging' Traceback (most recent call last):...

```console [tkloczko@barrel SPECS]$ for i in multipledispatch; do py2pack fetch $i; py2pack generate %i; done downloading package multipledispatch-0.6.0... from https://pypi.io/packages/source/m/multipledispatch/multipledispatch-0.6.0.tar.gz Traceback (most recent call last): File "/usr/bin/py2pack", line 10, in...