Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Feb 2016 13:39:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 205565] devel/py-setuptools27: failure to recognize entry_points
Message-ID:  <bug-205565-21822-CaRkJbZYnb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205565-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205565-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205565

--- Comment #6 from Kubilay Kocak <koobs@FreeBSD.org> ---
Created attachment 167565
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167565&action=
=3Dedit
Fixed line_profiler Makefile

Changes:

shebangfix is unecessary for console_scripts, as setuptools rewrites the
shebang line for the version of Python that the package is being build with
already.

The Cython port does not include PYTHON_PKGNAMEPREFIX. The BUILD_DEPENDS li=
ne
was incorrect on this basis.

Cython is only required as a build dependency for sources that have not been
preprocessed (ie: raw from the repo), and not PyPI source distributions
(sdists)

Given only kernprof is references as a console_script, and setuptools --rec=
ord
output (which autoplist uses) contains this script in bin/, PLIST_FILES is
unnecessary=20

Custom installation of kernprof in post-install is unnecessary.

My reading of the line_profiler README [1] only indicates kernprof as a CLI
script, with line_profiler only for use as a programmatic module.

In particular, the README specifically demonstrates use of line_profiler as
follows:

```
python -m line_profiler
```

[1] https://github.com/rkern/line_profiler

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205565-21822-CaRkJbZYnb>