[P4-dev] setup script for bmv2 compiler

Antonin Bas antonin at barefootnetworks.com
Thu Mar 10 19:37:55 EST 2016


Hi Salvatore,

We usually use "python setup.py install" to install the package, which I
believe works fine. It would help to know which *easy_install* command you
use when you try to build & install the package.

Thanks,

Antonin

On Wed, Mar 9, 2016 at 6:17 AM, Salvatore Signorello <
salvatore.signorello at uni.lu> wrote:

> Hi all,
>
> after an update of the repo (https://github.com/p4lang/p4c-bm), I'm not
> able anymore to properly install the python module. In detail, I have some
> problems with the additional code that was recently added to the setup.py
> script
> (commit c7339080b2276967d6313d7a054e9e841d8fecd3) to create and execute
> the EggInfoCommand class as cmd.
>
> From a quick investigation, it seems that easy_install builds everything
> correctly under the local build directory, but then it doesn't copy the
> files under the python-dist directory. (It could probably be a problem with
> my environment)
> Follow some details about my dev environment to eventually
> reproduce/troubleshoot the issue; if you need more, please don't hesitate
> to ask:
>
> Ubuntu 14.04
> Python 2.7.6
> setuptools 3.3
>
>
> Commenting  the "cmd_class" option inside the setup script has solved the
> problem in my case. Which was the purpose of this extension?
> Has anyone experienced the same issue?
>
> Sorry for any silly question/assumption, but I'm not quite familiar with
> packaging modules in python,
> best,
> Salvatore
>
> --
> Salvatore Signorello
> PhD student of the SEDAN research group at SnT
>
> Interdisciplinary Centre for Security, Reliability and Trust
> University of Luxembourg
> http://wwwen.uni.lu/snt/people/salvatore_signorello
>
>
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org
>



-- 
Antonin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20160310/7065dc24/attachment-0002.html>


More information about the P4-dev mailing list