As suggested, I forked OI pkg5 and started building.
I had to update logilabs and simplejson, and then could go on up to "make
install" with no errors.
Now, running "make packages" I end up with pylint target error, but nothing
special is stated about the error:
PYLINT_VER=0.25.2 /usr/bin/python2.6 setup.py pylintrunning pylint*************
Module pkg.client.pkg_solverC0301:2874,0: Line too long (96/80)C0301:2875,0:
Line too long (97/80)C0301:2876,0: Line too long (99/80)C0301:2877,0: Line too
long (96/80)Report======10125 statements
analysed.Duplication-----------+-------------------------+------+---------+-----------+|
|now |previous |difference
|+=========================+======+=========+===========+|nb duplicated lines
|0 |NC |NC
|+-------------------------+------+---------+-----------+|percent duplicated
lines |0.000 |NC |NC
|+-------------------------+------+---------+-----------+Statistics by
type------------------+---------+-------+-----------+-----------+------------+---------+|type
|number |old number |difference |%documented |%badname
|+=========+=======+===========+===========+============+=========+|module
|15 |NC |NC |86.67 |0.00
|+---------+-------+-----------+-----------+------------+---------+|class
|65 |NC |NC |92.31 |1.54
|+---------+-------+-----------+-----------+------------+---------+|method
|859 |NC |NC |83.24 |0.81
|+---------+-------+-----------+-----------+------------+---------+|function
|138 |NC |NC |78.26 |2.17
|+---------+-------+-----------+-----------+------------+---------+Raw
metrics-----------+----------+-------+------+---------+-----------+|type
|number |% |previous |difference
|+==========+=======+======+=========+===========+|code |12704 |61.00 |NC
|NC |+----------+-------+------+---------+-----------+|docstring
|3604 |17.31 |NC |NC
|+----------+-------+------+---------+-----------+|comment |2747 |13.19 |NC
|NC |+----------+-------+------+---------+-----------+|empty
|1770 |8.50 |NC |NC
|+----------+-------+------+---------+-----------+Messages by
category--------------------+-----------+-------+---------+-----------+|type
|number |previous |difference
|+===========+=======+=========+===========+|convention |4 |NC |NC
|+-----------+-------+---------+-----------+|refactor |0 |NC
|NC |+-----------+-------+---------+-----------+|warning |0 |NC
|NC |+-----------+-------+---------+-----------+|error |0
|NC |NC
|+-----------+-------+---------+-----------+Messages--------+-----------+------------+|message
id |occurrences |+===========+============+|C0301 |4
|+-----------+------------+Global evaluation-----------------Your code has been
rated at 10.00/10*** Error code 16make: Fatal error: Command failed for target
`pylint'
Any idea?
Gabriele
----------------------------------------------------------------------------------------
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
Da:
Gabriele Bulfon
A:
Alexander Pyhalov
[email protected]
Cc:
Dan McDonald
Data:
24 marzo 2016 10.17.53 CET
Oggetto:
Re: [discuss] zones and preferred publisher
Very strange, source version looked to be the same in my userland, but
resulting py code was not.
I had to repackage using OI logilab components
Thanks ;)
Gabriele
----------------------------------------------------------------------------------------
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
----------------------------------------------------------------------------------
Da: Alexander Pyhalov
A: [email protected]
Cc: Gabriele Bulfon
Dan McDonald
Data: 23 marzo 2016 11.17.56 CET
Oggetto: Re: [discuss] zones and preferred publisher
On 03/23/2016 12:59, Gabriele Bulfon wrote:
Thanks ;)
Building packages I get this error:
File "/usr/lib/python2.6/vendor-packages/pylint/checkers/utils.py", line 25, in
from logilab.common.compat import builtins
any idea?
I have logilab commons 0.58.2 installed both on python 2.6 and 2.7 .
I see
import __builtin__ as builtins # 2to3 will tranform '__builtin__' to
'builtins'
in /usr/lib/python2.6/vendor-packages/logilab/common/compat.py
"from logilab.common.compat import builtins"
works in python2.6...
--
? ?????????,
????????? ???????,
??????????? ?????? ???????????????????? ??????????????
?????????? ?????????????-???????????????? ?????????????? ???
illumos-discuss
|
Archives
|
Modify
Your Subscription
-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription:
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com