Sorry, there is a typo in my previous email...
It should be
$ python setup.py sdist bdist_wheel
for more information on this please check this example:
On Fri, Jan 25, 2019 at 12:12 PM Goncalo Morgado <goncalo.magno(a)gmail.com>
Thanks, I will take a look.
But please note that in order to have your dist package in PyPI you have
to generate an archive:
$ python sdist bdist_wheel # this generates both software dist and
binary dist packages
and push it with twine:
$ twine upload --repository-url https://test.pypi.org/legacy/
# test.pypi is for testing purposes, but you can use the official when
I haven't looked at your code, but I wonder if you're following these
(I hope we are not going off-topic)
On Fri, Jan 25, 2019 at 12:02 PM William Smith <willpjsmith(a)gmail.com>
> Hi Gonçalo,
> Not at all, thanks for your interest!
> Maybe I can provide that example - here's the link the CellModeller code
> on GitHub. <https://github.com/HaseloffLab/CellModeller/>
> Here you can find the setup.py script, which does indeed use the
> setuptools package.
> However, I couldn't find CellModeller listed on the PyPI repo
> What do you think?
> Dr. William P J Smith
> Postdoctoral researcher, Foster lab, University of Oxford
> On Fri, Jan 25, 2019 at 12:46 PM Goncalo Morgado <goncalo.magno(a)gmail.com>
>> Apologies for jumping in, do you have an example of a project (link to
>> repo) that depends on pyopencl and that is distributed through PyPI (uses
>> setuptools/setup.py), that I could look at?
>> Having to manually install numpy, pybind11 and mako is a bit of a
>> problem. With pipenv Pipfile.lock I am able to install everything
>> elegantly, but I have the problem of putting it in a setup.py...
>> That would help me a lot.
>> Many thanks,
>> On Fri, Jan 25, 2019 at 9:27 AM Jerome Kieffer <Jerome.Kieffer(a)esrf.fr>
>>> On Fri, 25 Jan 2019 10:00:45 +0000
>>> William Smith <willpjsmith(a)gmail.com> wrote:
>>> > My colleagues and I use PyOpenCL as part of an cell-based modelling
>>> > (Tim Rudge's CellModeller, here <
>>> > ).
>>> > We would like to use CellModeller alongside a PDE Solver (FEniCS
>>> > <https://fenicsproject.org/
>), whose NumPy requirements
>>> > with those of PyOpenCL (1.9). Is it possible to make PyOpenCL
>>> > with later NumPy versions?
>>> > Here's the conflict in my conda environment:
>>> I guess the conflict is related to the conda packaging (poorly done?).
>>> We have no issue to deploy continuous integration of pyopencl 2018.2.2
>>> with numpy 1.16:
>>> As mentioned in a recent thread, numpy, pybind11 and mako have to be
>>> installed beforehand.
>>> Jérôme Kieffer
>>> PyOpenCL mailing list -- pyopencl(a)tiker.net
>>> To unsubscribe send an email to pyopencl-leave(a)tiker.net
>> PyOpenCL mailing list -- pyopencl(a)tiker.net
>> To unsubscribe send an email to pyopencl-leave(a)tiker.net