Request to Review: Tutorial about Python Packaging offering different use case

2023-12-13 Thread Christian Buhtz via Python-list
Hello, I would like to point to my Python Packaging Tutorial explaining several common use cases using minimal demo projects. <https://codeberg.org/buhtz/tech-demo-python-packaging> I am not an expert and assume that some of my solutions might not be the best. So I would appreciate

[issue415226] new base class for binary packaging

2022-04-10 Thread admin
Change by admin : -- github: None -> 34304 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue415228] HP-UX packaging command

2022-04-10 Thread admin
Change by admin : -- github: None -> 34306 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45999] Links to packaging broken

2021-12-09 Thread Ned Deily
Change by Ned Deily : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45999] Links to packaging broken

2021-12-09 Thread Douglas Wright
Douglas Wright added the comment: The links are working now. I recall that all of the links in that section pointed to different URLs on 3.9 and newer than they did on 3.8. On 3.9 and newer, you would land on "page not found" on readthedocs.org. They all seem to match up now though.

[issue45999] Links to packaging broken

2021-12-07 Thread Ned Deily
Ned Deily added the comment: Perhaps I'm misunderstanding to which links you are referring but I am not seeing any broken links in that section at the moment. Could you retry and, if so, list exactly which links do not work for you? -- nosy: +ned.deily status: open -> pending

[issue45999] Links to packaging broken

2021-12-06 Thread Douglas Wright
New submission from Douglas Wright : Links in this section from the docs from 3.9 and newer are currently broken. https://docs.python.org/3.9/distributing/index.html#reading-the-python-packaging-user-guide They are currently leading to a "page not found" error. -- assi

[issue45964] gdb test fails when packaging Python 3.10 for openSUSE/Linux

2021-12-04 Thread Matej Cepl
Matej Cepl added the comment: > Matej, does your build system perhaps strip off the shebang of Lib/pdb.py? > That would explain why you are getting the function on line 93. Yes, that’s it. Thank you. -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue45964] gdb test fails when packaging Python 3.10 for openSUSE/Linux

2021-12-03 Thread Christian Heimes
Christian Heimes added the comment: This looks like a problem on your side. Line 94 is the correct line for the function in 3.10.0 release. $ git checkout v3.10.0 $ sed -n '94p' Lib/pdb.py def find_function(funcname, filename): Matej, does your build system perhaps strip off the shebang of

[issue45964] gdb test fails when packaging Python 3.10 for openSUSE/Linux

2021-12-03 Thread Irit Katriel
Change by Irit Katriel : -- title: 3.10.0 tests fail in test_pdb_breakpoints_preserved_across_interactive_sessions -> gdb test fails when packaging Python 3.10 for openSUSE/Linux ___ Python tracker <https://bugs.python.org/issu

Re: Proliferation of Python packaging formats

2021-11-17 Thread Mats Wichmann
On 11/17/21 07:44, Chris Angelico wrote: On Thu, Nov 18, 2021 at 12:20 AM Skip Montanaro wrote: Is the proliferation of packaging formats in Python as nutzo as this author believes? https://drewdevault.com/2021/11/16/Python-stop-screwing-distros-over.html Asking because I've never been

Re: Proliferation of Python packaging formats

2021-11-17 Thread Jon Ribbens via Python-list
On 2021-11-17, Skip Montanaro wrote: > Is the proliferation of packaging formats in Python as nutzo as this author > believes? > > https://drewdevault.com/2021/11/16/Python-stop-screwing-distros-over.html > > Asking because I've never been in the business of releasi

Re: Proliferation of Python packaging formats

2021-11-17 Thread Chris Angelico
On Thu, Nov 18, 2021 at 12:20 AM Skip Montanaro wrote: > > Is the proliferation of packaging formats in Python as nutzo as this author > believes? > > https://drewdevault.com/2021/11/16/Python-stop-screwing-distros-over.html > > Asking because I've never been in the business

Proliferation of Python packaging formats

2021-11-17 Thread Skip Montanaro
Is the proliferation of packaging formats in Python as nutzo as this author believes? https://drewdevault.com/2021/11/16/Python-stop-screwing-distros-over.html Asking because I've never been in the business of releasing "retail" Python applications or packages. Skip -- https://mail.

Re: Packaging/MANIFEST.in: Incude All, Exclude .gitignore

2021-03-13 Thread Albert-Jan Roskam
you could call a simple bash script in a git hook that syncs your MANIFEST.in with your .gitignore. Something like: echo -n "exclude " > MANIFEST.in cat .gitignore | tr '\n' ' ' >> MANIFEST.in echo "graft $(readlink -f ./keep/this)" >> MANIFEST.in

Packaging/MANIFEST.in: Incude All, Exclude .gitignore

2021-02-28 Thread Abdur-Rahmaan Janhangeer
Greetings list, SInce i have a .gitignore, how do i exclude all files and folders listed by my gitignore? How do i include everything by default? Kind Regards, Abdur-Rahmaan Janhangeer about | blog github

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-07-07 Thread miss-islington
miss-islington added the comment: New changeset 730bce3a80819e0b7fa6bfa1e1afcd4c837b62c1 by Miss Islington (bot) in branch '3.8': bpo-39417: Fix broken link to guide to building venvs (GH-18432) https://github.com/python/cpython/commit/730bce3a80819e0b7fa6bfa1e1afcd4c837b62c1 --

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-07-07 Thread Mariatta
Mariatta added the comment: Just needed a backport to 3.8 (which is in flight) so this is good to be closed. Thanks. -- nosy: +Mariatta resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-07-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +20528 pull_request: https://github.com/python/cpython/pull/21383 ___ Python tracker

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-07-07 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Looks like this should be closed as the submitted PR was merged. Just following up for consesus. -- nosy: +nanjekyejoannah ___ Python tracker

Re: Online training June 11, 12: Docker packaging best practices for Python in production

2020-05-22 Thread DL Neil via Python-list
the class on the event page* <https://www.eventbrite.com/e/production-ready-docker-packaging-for-python-developers-tickets-106092599822>* (*https://bit.ly/36kBhhN). Requested/suggested improvements to this 'advert': 1 internationalisation/localisation Please include the exact times b

Online training June 11, 12: Docker packaging best practices for Python in production

2020-05-22 Thread Itamar Turner-Trauring
builds. * Or even worse, you might have a production outage or security breach, costing your company orders of magnitude more money. So how can you ensure your Docker image packaging isn’t wasting your team’s time? How can you ensure you’re following best practices, for security, efficiency

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-02-11 Thread Angel Cervera Claudio
Angel Cervera Claudio added the comment: Thanks for handling this. I'm sorry I didn't have a chance to create the pr. :( On Mon 10 Feb 2020, 23:51 Carol Willing, wrote: > > Carol Willing added the comment: > > > New changeset c4a65ed7fe342bd18b5a5b0eea3470dc4fc31160 by Ogi Moore in >

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-02-10 Thread Carol Willing
Carol Willing added the comment: New changeset c4a65ed7fe342bd18b5a5b0eea3470dc4fc31160 by Ogi Moore in branch 'master': bpo-39417: Fix broken link to guide to building venvs (GH-18432) https://github.com/python/cpython/commit/c4a65ed7fe342bd18b5a5b0eea3470dc4fc31160 -- nosy:

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-02-10 Thread Ammar Askar
Change by Ammar Askar : -- keywords: +newcomer friendly ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-02-10 Thread Ognyan Moore
Ognyan Moore added the comment: Submitted PR 18432 to reflect this fix -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-02-10 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +17806 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18432 ___ Python tracker ___

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-02-10 Thread Ognyan Moore
Ognyan Moore added the comment: Hi, I'm at pycascades cpython sprint, I can tackle this issue. -- nosy: +Ognyan Moore ___ Python tracker ___

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-01-22 Thread Ammar Askar
Ammar Askar added the comment: Oh and I think the new link should point here: https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment -- ___ Python tracker

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-01-22 Thread Ammar Askar
Ammar Askar added the comment: Hi Angel, thank you for the report! The file that corresponds to that documentation is here https://github.com/python/cpython/blob/master/Doc/library/venv.rst and we'd be happy to have you make a PR for it :) -- nosy: +ammar2

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-01-22 Thread Angel Cervera Claudio
New submission from Angel Cervera Claudio : The link "See also: Python Packaging User Guide: Creating and using virtual environments" Is broken. The problem is in line 30 of https://github.com/python/cpython/blob/3.8/Doc/library/venv.rst I don't know the right link, so I can not

Packaging Sqlite DB and Pictures with Executable file

2019-12-31 Thread Abdur-Rahmaan Janhangeer
ww.pythonmembers.club/2019/12/31/packaging-an-sqlite-db-included-crud-pyqt5-app-using-pyinstaller/> ! Yours, Abdur-Rahmaan Janhangeer pythonmembers.club <http://www.pythonmembers.club/> | github <https://github.com/Abdur-rahmaanJ> Mauritius -- https://mail.python.org/mailman/listinfo/python-list

Python packaging (was: the python name)

2019-01-06 Thread Peter J. Holzer
On 2019-01-06 13:26:15 +0100, Peter J. Holzer wrote: > I haven't packaged anything yet. I have looked at the documentation > several times and I agree that it looks somewhat daunting (I am not > unfamiliar with packaging systems: I have built rpm and deb packages, > and used both the

Packaging for python2/3 compatibility

2018-08-12 Thread Gal Zaidman
Hello all, I'm a member of the RHEV integration team and for the past few weeks I've been working on packaging Ovirt for python3 compatibility for Fedora, and we have very clear guidelines for packaging python packages for Fedora: https://fedoraproject.org/wiki/Packaging:Python#Byte_compiling

Re: Packaging uwsgi flask app for non-programmers?

2018-02-13 Thread Israel Brewster
> On Feb 13, 2018, at 10:02 AM, Dan Stromberg wrote: > > On Tue, Feb 13, 2018 at 9:28 AM, Israel Brewster > wrote: >> As such, I'm considering three possible solutions: >> >> 1) Make some sort of installer package that includes the python3 installer

Re: Packaging uwsgi flask app for non-programmers?

2018-02-13 Thread Dan Stromberg
On Tue, Feb 13, 2018 at 9:28 AM, Israel Brewster wrote: > As such, I'm considering three possible solutions: > > 1) Make some sort of installer package that includes the python3 installer > 2) Somehow automate the download and install of Python3, or > 3) re-write my code to

Re: Packaging uwsgi flask app for non-programmers?

2018-02-13 Thread Israel Brewster
pyinstaller in this > scenario, or perhaps some other option that might work better to package > things up? So at the moment, since there have been no suggestions for packaging, I'm getting by with a bash script that: a) Makes sure python 3 is installed, prompting the user to in

Re: Packaging uwsgi flask app for non-programmers?

2018-02-07 Thread Israel Brewster
> On Feb 6, 2018, at 8:24 PM, Dennis Lee Bieber wrote: > > On Tue, 6 Feb 2018 12:12:26 -0900, Israel Brewster > declaimed the following: > >> I have been working on writing an Alexa skill which, as part of it, requires >> a local web server on

Re: Packaging uwsgi flask app for non-programmers?

2018-02-07 Thread Israel Brewster
On Feb 6, 2018, at 12:12 PM, Israel Brewster wrote: > > I have been working on writing an Alexa skill which, as part of it, requires > a local web server on the end users machine - the Alexa skill sends commands > to this server, which runs them on the local machine. I

Packaging uwsgi flask app for non-programmers?

2018-02-06 Thread Israel Brewster
I have been working on writing an Alexa skill which, as part of it, requires a local web server on the end users machine - the Alexa skill sends commands to this server, which runs them on the local machine. I wrote this local server in Flask, and run it using uwsgi, using a command like:

Re: from packaging import version as pack_version ImportError: No module named packaging

2017-10-30 Thread Cameron Simpson
On 30Oct2017 10:48, David Gabriel wrote: When I run this command I got this error message: ubuntu@orchestrateur:/tmp/pack$ virtualenv -p $(which python3.5) . [...] OSError: [Errno 13] Permission denied Peter has explained this failure. Note that in the shell you can

Re: from packaging import version as pack_version ImportError: No module named packaging

2017-10-30 Thread Peter Otten
David Gabriel wrote: > Dears, > > When I run this command I got this error message: > > ubuntu@orchestrateur:/tmp/pack$ virtualenv -p $(which python3.5) . > Running virtualenv with interpreter /usr/local/sbin/. > Traceback (most recent call last): > File "/usr/bin/virtualenv", line 3, in >

Re: from packaging import version as pack_version ImportError: No module named packaging

2017-10-30 Thread David Gabriel
nning this code in an Openstack instance. >> I will apply your recommandation and let you know about the result ... >> >> Kind regards. >> >> 2017-10-27 16:13 GMT+02:00 Lutz Horn <lutz.h...@posteo.de>: >> >>> On Fri, Oct 27, 2017 at 03:56:39PM +0

Re: from packaging import version as pack_version ImportError: No module named packaging

2017-10-28 Thread David Gabriel
ng this code in an Openstack instance. > I will apply your recommandation and let you know about the result ... > > Kind regards. > > 2017-10-27 16:13 GMT+02:00 Lutz Horn <lutz.h...@posteo.de>: > >> On Fri, Oct 27, 2017 at 03:56:39PM +0200, David Gabriel wrote: >>

Re: from packaging import version as pack_version ImportError: No module named packaging

2017-10-28 Thread David Gabriel
3:56:39PM +0200, David Gabriel wrote: > > from packaging import version as pack_version > > ImportError: No module named packaging > > > > I googled it and I have found so many suggestions regarding updating > > 'pip' and installing python-setuptools but all of these

Re: from packaging import version as pack_version ImportError: No module named packaging

2017-10-28 Thread Lutz Horn
On Fri, Oct 27, 2017 at 03:56:39PM +0200, David Gabriel wrote: > from packaging import version as pack_version > ImportError: No module named packaging > > I googled it and I have found so many suggestions regarding updating > 'pip' and installing python-setuptools but all of th

Re: from packaging import version as pack_version ImportError: No module named packaging

2017-10-27 Thread Cameron Simpson
On 27Oct2017 15:56, David Gabriel <davidgab...@gmail.com> wrote: I am running a python code that generates for me this error : from packaging import version as pack_version ImportError: No module named packaging I googled it and I have found so many suggestions regarding updatin

from packaging import version as pack_version ImportError: No module named packaging

2017-10-27 Thread David Gabriel
Dears, I am running a python code that generates for me this error : from packaging import version as pack_version ImportError: No module named packaging I googled it and I have found so many suggestions regarding updating 'pip' and installing python-setuptools but all of these did not fix

Re: Good virtualenv and packaging tutorials for beginner?

2017-10-06 Thread Anssi Saari
Leam Hall writes: > Folks on IRC have suggested using virtualenv to test code under > different python versions. Sadly, I've not found a virtualenv tutorial > I understand. Anyone have a link to a good one? I recently used

Re: Good virtualenv and packaging tutorials for beginner?

2017-10-04 Thread Christopher Reimer
On Oct 4, 2017, at 3:49 AM, Leam Hall wrote: > > Folks on IRC have suggested using virtualenv to test code under different > python versions. Sadly, I've not found a virtualenv tutorial I understand. > Anyone have a link to a good one? > > The next step will be to figure

Re: Good virtualenv and packaging tutorials for beginner?

2017-10-04 Thread Paul Moore
o test code under >> > different python versions. Sadly, I've not found a virtualenv tutorial >> > I understand. Anyone have a link to a good one? >> >> The Python Packaging Authority has a guide >> <URL:https://packaging.python.org/tutorials/installing- &g

Re: Good virtualenv and packaging tutorials for beginner?

2017-10-04 Thread leam hall
> > I understand. Anyone have a link to a good one? > > The Python Packaging Authority has a guide > <URL:https://packaging.python.org/tutorials/installing- > packages/#creating-virtual-environments> > which seems good to me. > > The standard library documentation

Re: Good virtualenv and packaging tutorials for beginner?

2017-10-04 Thread Ben Finney
Leam Hall <leamh...@gmail.com> writes: > Folks on IRC have suggested using virtualenv to test code under > different python versions. Sadly, I've not found a virtualenv tutorial > I understand. Anyone have a link to a good one? The Python Packaging Authority has a g

Good virtualenv and packaging tutorials for beginner?

2017-10-04 Thread Leam Hall
Folks on IRC have suggested using virtualenv to test code under different python versions. Sadly, I've not found a virtualenv tutorial I understand. Anyone have a link to a good one? The next step will be to figure out how to package a project; a good tutorial URL would be appreciated on

Re: packaging python code

2017-05-09 Thread Nathan Ernst
I've used bbfreeze on linux, but that's been ~8 years ago. Don't know about the current state of the project. Regards, Nate On Tue, May 9, 2017 at 9:42 PM, MrJean1 wrote: > > > Is there any way to pack my .py with all required libraries and create a > self running package?

Re: packaging python code

2017-05-09 Thread MrJean1
> Is there any way to pack my .py with all required libraries and create a self > running package? Something like building exe file with static libraries. > Therefore, the user won't install any thing manually. Try Py2exe to create a standalone .exe file (but for

Re: packaging python code

2017-05-08 Thread Mahmood Naderan via Python-list
OK. I did that but it fails! Please see the stack D:\ThinkPad\Documents\NetBeansProjects\ExcelTest>pyinstaller exread.py 96 INFO: PyInstaller: 3.2.1 96 INFO: Python: 3.6.1 98 INFO: Platform: Windows-10-10.0.14393-SP0 103 INFO: wrote D:\ThinkPad\Documents\NetBeansProjects\ExcelTest\exread.spec

Re: packaging python code

2017-05-08 Thread Lutz Horn
Is there any way to pack my .py with all required libraries and create a self running package? Take a look at PyInstaller: * http://www.pyinstaller.org/ * https://pyinstaller.readthedocs.io/en/stable/ Lutz -- https://mail.python.org/mailman/listinfo/python-list

packaging python code

2017-05-08 Thread Mahmood Naderan via Python-list
Hi, I have simple piece of code which uses two libraries (numpy and openpyxl). The script is called from another application. Currently, if someone wants to run my program, he has to first install the python completely via its installer. Is there any way to pack my .py with all required

Re: Basic Packaging strategy question

2017-03-07 Thread Paul Moore
On Tuesday, 7 March 2017 01:45:10 UTC, bilm...@gmail.com wrote: > It still seems strange to me that such a well documented ecosystem does not > have an official way to package a complete app ( vs packages ). Well, it's a combination of history, the fact that the whole thing is platform

Re: Basic Packaging strategy question

2017-03-06 Thread Steven D'Aprano
On Sat, 04 Mar 2017 15:08:15 -0800, bilmar19 wrote: > I have a simple project that I want to package to put it on another > machine but everything I have read so far about packaging ends up > putting the whole install alongside with 'packages' - typically in > .../site-packages.

Re: Basic Packaging strategy question

2017-03-06 Thread bilmar19
Thanks, It still seems strange to me that such a well documented ecosystem does not have an official way to package a complete app ( vs packages ). Bill -- https://mail.python.org/mailman/listinfo/python-list

Re: Basic Packaging strategy question

2017-03-04 Thread ddbug
On Sunday, March 5, 2017 at 1:08:25 AM UTC+2, bilm...@gmail.com wrote: > I have a simple project that I want to package to put it on another machine > but everything I have read so far about packaging ends up putting the whole > install alongside with 'packages' - typically in .../site

Basic Packaging strategy question

2017-03-04 Thread bilmar19
I have a simple project that I want to package to put it on another machine but everything I have read so far about packaging ends up putting the whole install alongside with 'packages' - typically in .../site-packages. This seems a strange place to launch an app from! So, if I have an app

Re: A detailed description on virtualenv's packaging dependecies? (pip, easy_install, wheel, setuptools, distlib, etc.)

2017-01-16 Thread Paul Moore
the lower level of > Python package management. I started with pip, moved to setuptools and now > set my sight on distlib. > > Can someone describe the specific dependencies of all the *packaging* > libraries that `virtualenv` uses? And the dependencies between them? > > I be

A detailed description on virtualenv's packaging dependecies? (pip, easy_install, wheel, setuptools, distlib, etc.)

2017-01-13 Thread haraldnordgren
and now set my sight on distlib. Can someone describe the specific dependencies of all the *packaging* libraries that `virtualenv` uses? And the dependencies between them? I believe that virtualenv directly imports `pip`, `easy_install` and `wheel`. Those in turn import `setuptools` and `distlib

Re: Packaging multiple wheels in the same package

2016-07-14 Thread Nir Cohen
Appreciate it! Will do! -- https://mail.python.org/mailman/listinfo/python-list

Re: Packaging multiple wheels in the same package

2016-07-13 Thread Ethan Furman
On 07/13/2016 05:54 AM, Nir Cohen wrote: On Thursday, July 7, 2016 at 7:47:22 AM UTC+3, Nir Cohen wrote: On Wednesday, July 6, 2016 at 10:09:01 PM UTC+3, Ethan Furman wrote: On 07/06/2016 11:43 AM, Nir Cohen wrote: We decided that we want to package sets of wheels together created or

Re: Packaging multiple wheels in the same package

2016-07-13 Thread Chris Angelico
On Wed, Jul 13, 2016 at 10:54 PM, Nir Cohen wrote: > On Thursday, July 7, 2016 at 7:47:22 AM UTC+3, Nir Cohen wrote: >> On Wednesday, July 6, 2016 at 10:09:01 PM UTC+3, Ethan Furman wrote: >> > Sounds like a great idea! >> > >> > Once you have your feed-back from here you'll

Re: Packaging multiple wheels in the same package

2016-07-13 Thread Nir Cohen
On Thursday, July 7, 2016 at 7:47:22 AM UTC+3, Nir Cohen wrote: > On Wednesday, July 6, 2016 at 10:09:01 PM UTC+3, Ethan Furman wrote: > > On 07/06/2016 11:43 AM, Nir Cohen wrote: > > > > > We decided that we want to package sets of wheels together created or > > > downloaded > > > by `pip

Re: Packaging multiple wheels in the same package

2016-07-06 Thread Nir Cohen
On Wednesday, July 6, 2016 at 10:09:01 PM UTC+3, Ethan Furman wrote: > On 07/06/2016 11:43 AM, Nir Cohen wrote: > > > We decided that we want to package sets of wheels together created or > > downloaded > > by `pip wheel`, add relevant metadata, package them together into a > single archive >

Re: Packaging multiple wheels in the same package

2016-07-06 Thread Ethan Furman
On 07/06/2016 11:43 AM, Nir Cohen wrote: We decided that we want to package sets of wheels together created or downloaded > by `pip wheel`, add relevant metadata, package them together into a single archive > (tar.gz or zip) and use the same tool which packs them up to install them later on,

Packaging multiple wheels in the same package

2016-07-06 Thread Nir Cohen
Hey all, As part of working on Cloudify (http://github.com/cloudify-cosmo) we've had to provide a way for customers to install our plugins in an environment where PyPI isn't accessible. These plugins are sets of Python packages which necessarily depend on one another (i.e. a regular python

Python Packaging and being a good testing citizen

2015-12-18 Thread Andy Loughran
Hey guys, I wrote a python package to deal with heatmiser's protocol when communicating with devices over TCP. It would be good to wrap some tests around it as I know the core elements won't change - but need to add support for different devices and different connection methods. One thing

Re: packaging code with compiled libraries

2015-10-06 Thread Tim
On Tuesday, October 6, 2015 at 5:51:48 AM UTC-4, Oscar Benjamin wrote: > On 5 October 2015 at 20:43, Tim wrote: > > > > I have a package I want to share but have a question about packaging. > > > > Mostly the package is pure python code, but it also requires some

Re: packaging code with compiled libraries

2015-10-06 Thread Tim Golden
On 05/10/2015 20:43, Tim wrote: > I have a package I want to share but have a question about packaging. > > Mostly the package is pure python code, but it also requires some binary > libraries (*.so, *.dll, *.dylib). I want to bundle these libs so users don't > have to compi

Re: packaging code with compiled libraries

2015-10-06 Thread Oscar Benjamin
On 5 October 2015 at 20:43, Tim <jtim.arn...@gmail.com> wrote: > > I have a package I want to share but have a question about packaging. > > Mostly the package is pure python code, but it also requires some binary > libraries (*.so, *.dll, *.dylib). I want to bundle thes

packaging code with compiled libraries

2015-10-05 Thread Tim
I have a package I want to share but have a question about packaging. Mostly the package is pure python code, but it also requires some binary libraries (*.so, *.dll, *.dylib). I want to bundle these libs so users don't have to compile. The package will run on *nix/windows/mac platforms

Re: packaging code with compiled libraries

2015-10-05 Thread Rustom Mody
On Tuesday, October 6, 2015 at 1:14:05 AM UTC+5:30, Tim wrote: > And that seems to work, but after reading more from the Python Packaging > Authority, I wonder if that is the right way. Should I be using wheels > instead? > I think my brain fried a little bit while going through t

Re: Packaging and deployment of standalone Python applications?

2015-09-17 Thread Christian Gollwitzer
Am 16.09.15 um 21:29 schrieb Kristian Rink: Thanks, this already is pretty close to what I need. Playing with this and virtualenv, I figured out that this way it's pretty easily possible to have isolated Python environments _locally_. However I failed to package one of these environments and

Re: Packaging and deployment of standalone Python applications?

2015-09-17 Thread Chris Angelico
On Thu, Sep 17, 2015 at 5:24 PM, Christian Gollwitzer wrote: > IMHO this is one of the lacks of CPython. Distributing source is not always > practical, especially if the project involves modules written in C, or a > large number of 3rd party libraries. To provide linux binaries

Re: Packaging and deployment of standalone Python applications?

2015-09-17 Thread Kristian Rink
Hi Laura; and first off, thanks bunches for your comment. Am 17.09.2015 um 00:19 schrieb Laura Creighton: > Your problem is likely with the shared library search paths. Different distributions put them in different places. It's a real pain, and the reason why docker is getting more popular.

Re: Packaging and deployment of standalone Python applications?

2015-09-17 Thread Kristian Rink
Hi Laura; and first off, thank you very much for your very insightful response. Some thoughts on that: Am 17.09.2015 um 11:06 schrieb Laura Creighton: Mozilla uses a hybrid static and binary build thing. http://www-archive.mozilla.org/build/static-build.html and confusingly calls that a

Re: Packaging and deployment of standalone Python applications?

2015-09-17 Thread m
W dniu 14.09.2015 o 08:58, Kristian Rink pisze: [...] > > Any pointers, ideas, inspirations on that greatly appreciated - even > in total different ways if what I am about to do is completely off > anyone would do it in a Python environment. ;) Look at https://github.com/jordansissel/fpm/wiki -

Re: Packaging and deployment of standalone Python applications?

2015-09-17 Thread Laura Creighton
In a message of Thu, 17 Sep 2015 08:23:52 +0200, Kristian Rink writes: >Hi Laura; > >and first off, thanks bunches for your comment. > >Am 17.09.2015 um 00:19 schrieb Laura Creighton: > > >> Your problem is likely with the shared library search paths. >> Different distributions put them in

Re: Packaging and deployment of standalone Python applications?

2015-09-16 Thread Kristian Rink
Am 15.09.2015 um 08:59 schrieb paul.hermeneu...@gmail.com: https://docs.python.org/3/library/venv.html?highlight=venv#module-venv Thanks, this already is pretty close to what I need. Playing with this and virtualenv, I figured out that this way it's pretty easily possible to have isolated

Re: Packaging and deployment of standalone Python applications?

2015-09-16 Thread Laura Creighton
In a message of Wed, 16 Sep 2015 21:29:23 +0200, Kristian Rink writes: >Am 15.09.2015 um 08:59 schrieb paul.hermeneu...@gmail.com: >> >> https://docs.python.org/3/library/venv.html?highlight=venv#module-venv > >Thanks, this already is pretty close to what I need. Playing with this >and

Re: Packaging and deployment of standalone Python applications?

2015-09-15 Thread Christian Gollwitzer
Am 14.09.15 um 08:58 schrieb Kristian Rink: Folks; coming from a server-sided Java background, I'm recently exploring frameworks such as cherrypy or webpy for building RESTful services, which is quite a breeze and a pretty pleasant experience; however one thing so far bugs me: Using Java

Re: Packaging and deployment of standalone Python applications?

2015-09-15 Thread paul.hermeneutic
This might be helpful. https://docs.python.org/3/distributing/index.html See also https://docs.python.org/3/library/venv.html?highlight=venv#module-venv Folks; coming from a server-sided Java background, I'm recently exploring frameworks such as cherrypy or webpy for building RESTful services,

Re: Packaging and deployment of standalone Python applications?

2015-09-15 Thread marco . nawijn
On Monday, September 14, 2015 at 8:58:51 AM UTC+2, Kristian Rink wrote: > Folks; > > coming from a server-sided Java background, I'm recently exploring frameworks > such as cherrypy or webpy for building RESTful services, which is quite a > breeze and a pretty pleasant experience; however one

Re: Packaging and deployment of standalone Python applications?

2015-09-15 Thread Laura Creighton
>On Monday, September 14, 2015 at 8:58:51 AM UTC+2, Kristian Rink wrote: >> Folks; coming from a server-sided Java background, I'm recently >> exploring frameworks such as cherrypy or webpy for building RESTful >> services, which is quite a breeze and a pretty pleasant experience; >> however one

Re: Packaging and deployment of standalone Python applications?

2015-09-14 Thread dieter
Kristian Rink writes: > Folks; > > coming from a server-sided Java background, I'm recently exploring frameworks > such as cherrypy or webpy for building RESTful services, which is quite a > breeze and a pretty pleasant experience; however one thing so far bugs me: >

Packaging and deployment of standalone Python applications?

2015-09-14 Thread Kristian Rink
Folks; coming from a server-sided Java background, I'm recently exploring frameworks such as cherrypy or webpy for building RESTful services, which is quite a breeze and a pretty pleasant experience; however one thing so far bugs me: Using Java tooling and libraries such as DropWizard, it is

Re: Where to learn current best Python packaging practices (was: Announce: PyPrimes 0.2.1a)

2015-01-08 Thread Rustom Mody
On Friday, January 9, 2015 at 6:42:18 AM UTC+5:30, Ben Finney wrote: Steven D'Aprano writes: Is there a good tutorial to learn about pip? I'll answer what I think is the correct question: where to learn about the current best Python packaging practices. In order to attain to full ISO

Re: Where to learn current best Python packaging practices

2015-01-08 Thread Ben Finney
Rick Johnson rantingrickjohn...@gmail.com writes: On Thursday, January 8, 2015 at 7:12:18 PM UTC-6, Ben Finney wrote: That does not contradict the position that [python packaging] is an ornery beast full of hidden traps and compromises though; it just means that everything that came

Where to learn current best Python packaging practices (was: Announce: PyPrimes 0.2.1a)

2015-01-08 Thread Ben Finney
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: Is there a good tutorial to learn about pip? I'll answer what I think is the correct question: where to learn about the current best Python packaging practices. We have recently gained an official body whose explicit job is to direct

Re: Where to learn current best Python packaging practices (was: Announce: PyPrimes 0.2.1a)

2015-01-08 Thread Rick Johnson
On Thursday, January 8, 2015 at 7:12:18 PM UTC-6, Ben Finney wrote: That does not contradict the position that [python packaging] is an ornery beast full of hidden traps and compromises though; it just means that everything that came before it (in Python) is worse Ben, you've just proven

[issue22711] legacy distutils docs better than packaging guide

2014-10-23 Thread Antoine Pitrou
New submission from Antoine Pitrou: I just noticed that access to the normal distutils docs has become difficult. They are hidden as legacy while a link to the packaging user guide (https://packaging.python.org/en/latest/) is prominently displayed. The problem is that the packaging user guide

[issue22711] legacy distutils docs better than packaging guide

2014-10-23 Thread Nick Coghlan
, or the Python Packaging User Guide (although the latter is generally not the right place for detailed API references). Assistance salvaging the information that still needs to be retained out of the middle of the now deprecated legacy docs would be greatly appreciated. -- resolution

[issue22711] legacy distutils docs better than packaging guide

2014-10-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: The old distutils docs are actively wrong in some areas Yet they are actively useful in others. -- resolution: rejected - status: closed - open ___ Python tracker rep...@bugs.python.org

  1   2   3   4   5   6   7   8   >