Skip to contentSkip to conversation

python-fastentrypoints: new package

PATCH New Asaf Kahlon 3 participants 6 messages Apr 8, 2018 – Apr 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-fastentrypoints: new package

host-package that is able to shorten the load time of entry_points declared in setup.py of python packages.

Unfortunately, license file was not found.

---
 DEVELOPERS                                           |  1 +
 package/Config.in                                    |  1 +
 package/python-fastentrypoints/Config.in             |  6 ++++++
 .../python-fastentrypoints.hash                      |  3 +++
 .../python-fastentrypoints/python-fastentrypoints.mk | 12 ++++++++++++
 5 files changed, 23 insertions(+)
 create mode 100644 package/python-fastentrypoints/Config.in
 create mode 100644 package/python-fastentrypoints/python-fastentrypoints.hash
 create mode 100644 package/python-fastentrypoints/python-fastentrypoints.mk
DEVELOPERS +1 -0
index 10b20c259b..ea33d5e730 100644
@@ -189,6 +189,7 @@ F:	package/sqlcipher/
 F:	package/stress/
 
 N:	Asaf Kahlon <[email protected]>
+F:	package/python-fastentrypoints/
 F:	package/python-jsonmodels/
 F:	package/python-yieldfrom/
 
package/Config.in +1 -0
index 5e798a4f14..d7e51b203c 100644
@@ -778,6 +778,7 @@ menu "External python modules"
 	source "package/python-engineio/Config.in"
 	source "package/python-enum/Config.in"
 	source "package/python-enum34/Config.in"
+	source "package/python-fastentrypoints/Config.in"
 	source "package/python-flask/Config.in"
 	source "package/python-flask-cors/Config.in"
 	source "package/python-flask-babel/Config.in"
package/python-fastentrypoints/Config.in new file +6 -0
new file mode 100644
index 0000000000..d2c86dbc5e
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_FASTENTRYPOINTS
+	bool "python-fastentrypoints"
+	help
+	  Makes entry_points specified in setup.py load more quickly.
+
+	  https://github.com/ninjaaron/fast-entry_points
package/python-fastentrypoints/python-fastentrypoints.hash new file +3 -0
new file mode 100644
index 0000000000..da6e2ae9d8
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/fastentrypoints/json, sha256 locally computed
+md5	9bd2a34697eb8279d87e7b927f4f7e85  fastentrypoints-0.10.tar.gz
+sha256	ed418146ed87230694ec2d8890b9b3e2967e95d857e5ce933cafecb1067cca82  fastentrypoints-0.10.tar.gz
package/python-fastentrypoints/python-fastentrypoints.mk new file +12 -0
new file mode 100644
index 0000000000..455cfe8319
@@ -0,0 +1,12 @@
+################################################################################
+#
+# python-fastentrypoints
+#
+################################################################################
+
+PYTHON_FASTENTRYPOINTS_VERSION = 0.10
+PYTHON_FASTENTRYPOINTS_SOURCE = fastentrypoints-$(PYTHON_FASTENTRYPOINTS_VERSION).tar.gz
+PYTHON_FASTENTRYPOINTS_SITE = https://pypi.python.org/packages/e8/c8/c2902c9c9da43d8be8c75a730f15f0c51933c42c39b91d1d7b605a88e907
+PYTHON_FASTENTRYPOINTS_SETUP_TYPE = setuptools
+
+$(eval $(host-python-package))
Signature · 1 line
2.17.0
#1 lore raw

PATCH 1/1 python-fastentrypoints: new package

Hi Asaf,

Quoted 4 lines · Asaf Kahlon

host-package that is able to shorten the load time of entry_points declared in setup.py of python packages.

Unfortunately, license file was not found.

This comment shouldn't be part of the commit log.

Quoted 63 lines
---
 DEVELOPERS                                           |  1 +
 package/Config.in                                    |  1 +
 package/python-fastentrypoints/Config.in             |  6 ++++++
 .../python-fastentrypoints.hash                      |  3 +++
 .../python-fastentrypoints/python-fastentrypoints.mk | 12 ++++++++++++
 5 files changed, 23 insertions(+)
 create mode 100644 package/python-fastentrypoints/Config.in
 create mode 100644 package/python-fastentrypoints/python-fastentrypoints.hash
 create mode 100644 package/python-fastentrypoints/python-fastentrypoints.mk
DEVELOPERS +1 -0
index 10b20c259b..ea33d5e730 100644
@@ -189,6 +189,7 @@ F:  package/sqlcipher/
 F:     package/stress/
 
 N:     Asaf Kahlon <[email protected]>
+F:     package/python-fastentrypoints/
 F:     package/python-jsonmodels/
 F:     package/python-yieldfrom/
 
package/Config.in +1 -0
index 5e798a4f14..d7e51b203c 100644
@@ -778,6 +778,7 @@ menu "External python modules"
        source "package/python-engineio/Config.in"
        source "package/python-enum/Config.in"
        source "package/python-enum34/Config.in"
+       source "package/python-fastentrypoints/Config.in"
        source "package/python-flask/Config.in"
        source "package/python-flask-cors/Config.in"
        source "package/python-flask-babel/Config.in"
package/python-fastentrypoints/Config.in new file +6 -0
new file mode 100644
index 0000000000..d2c86dbc5e
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_FASTENTRYPOINTS
+       bool "python-fastentrypoints"
+       help
+         Makes entry_points specified in setup.py load more quickly.
+
+         https://github.com/ninjaaron/fast-entry_points
package/python-fastentrypoints/python-fastentrypoints.hash new file +3 -0
new file mode 100644
index 0000000000..da6e2ae9d8
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/fastentrypoints/json, sha256 locally computed
+md5    9bd2a34697eb8279d87e7b927f4f7e85  fastentrypoints-0.10.tar.gz
+sha256 ed418146ed87230694ec2d8890b9b3e2967e95d857e5ce933cafecb1067cca82  fastentrypoints-0.10.tar.gz
package/python-fastentrypoints/python-fastentrypoints.mk new file +0 -0
new file mode 100644
index 0000000000..455cfe8319

package/python-fastentrypoints/python-fastentrypoints.mk line 10

Quoted 10 lines
package/python-fastentrypoints/python-fastentrypoints.mk new file +10 -0
@@ -0,0 +1,12 @@
+################################################################################
+#
+# python-fastentrypoints
+#
+################################################################################
+
+PYTHON_FASTENTRYPOINTS_VERSION = 0.10
+PYTHON_FASTENTRYPOINTS_SOURCE = fastentrypoints-$(PYTHON_FASTENTRYPOINTS_VERSION).tar.gz
+PYTHON_FASTENTRYPOINTS_SITE = https://pypi.python.org/packages/e8/c8/c2902c9c9da43d8be8c75a730f15f0c51933c42c39b91d1d7b605a88e907
+PYTHON_FASTENTRYPOINTS_SETUP_TYPE = setuptools

The license file can be found on github and seems to be BSD-2c [1]

With these changes applied you can add my: Reviewed-by: Yegor Yefremov <[email protected]>

[1] https://github.com/ninjaaron/fast-entry_points/blob/master/LICENSE

Yegor

Quoted 5 lines
package/python-fastentrypoints/python-fastentrypoints.mk new file +2 -1
+
+$(eval $(host-python-package))
--

2.17.0

#2 lore raw

PATCH 1/1 python-fastentrypoints: new package

Hello,

Quoted 7 lines · Yegor Yefremov
Quoted 4 lines · Asaf Kahlon

host-package that is able to shorten the load time of entry_points declared in setup.py of python packages.

Unfortunately, license file was not found.

This comment shouldn't be part of the commit log.

I disagree, this comment makes sense in a commit log.

Quoted 4 lines
Quoted 4 lines
package/python-fastentrypoints/Config.in new file +0 -1
new file mode 100644
index 0000000000..d2c86dbc5e
--- /dev/null
Quoted 8 lines

package/python-fastentrypoints/Config.in line 6

Quoted 8 lines

+++ b/package/python-fastentrypoints/Config.in

package/python-fastentrypoints/Config.in new file +6 -0
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_FASTENTRYPOINTS
+       bool "python-fastentrypoints"
+       help
+         Makes entry_points specified in setup.py load more quickly.
+
+         https://github.com/ninjaaron/fast-entry_points

So we have a Config.in option for a target package.

Quoted 7 lines

package/python-fastentrypoints/Config.in

Quoted 4 lines
package/python-fastentrypoints/Config.in new file +4 -0
+PYTHON_FASTENTRYPOINTS_VERSION = 0.10
+PYTHON_FASTENTRYPOINTS_SOURCE = fastentrypoints-$(PYTHON_FASTENTRYPOINTS_VERSION).tar.gz
+PYTHON_FASTENTRYPOINTS_SITE = https://pypi.python.org/packages/e8/c8/c2902c9c9da43d8be8c75a730f15f0c51933c42c39b91d1d7b605a88e907
+PYTHON_FASTENTRYPOINTS_SETUP_TYPE = setuptools  

The license file can be found on github and seems to be BSD-2c [1]

Quoted 9 lines

With these changes applied you can add my: Reviewed-by: Yegor Yefremov <[email protected]>

[1] https://github.com/ninjaaron/fast-entry_points/blob/master/LICENSE

Yegor

Quoted 2 lines

+
+$(eval $(host-python-package))

But this is a host only package ?

I don't see how this can work. Am I missing something ?

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 1/1 python-fastentrypoints: new package

Yegor, Thomas,

Indeed this is a host package. After you compile it, it can be used to speed up entry points.
I now see Buildroot uses Config.in.host for this kind of packages, so I can fix this on a new patch.

About the license - I saw the license file on the Github repository, but this license is not provided on the tar.gz archive downloaded from pypi, so how can I add the licence information?

Regards,
Asaf.

Quoted 55 lines · On Mon, Apr 9, 2018, 10:14 Thomas Petazzoni <[email protected]>…

Hello,

Quoted 2 lines · Yegor Yefremov
Quoted 1 line · Asaf Kahlon

host-package that is able to shorten the load time of entry_points

declared

Quoted 5 lines
Quoted 3 lines

in setup.py of python packages.

Unfortunately, license file was not found.

This comment shouldn't be part of the commit log.

I disagree, this comment makes sense in a commit log.

Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0

b/package/python-fastentrypoints/Config.in

Quoted 11 lines

package/python-fastentrypoints/Config.in line 6

Quoted 11 lines

new file mode 100644
index 0000000000..d2c86dbc5e

package/python-fastentrypoints/Config.in new file +6 -0
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_FASTENTRYPOINTS
+       bool "python-fastentrypoints"
+       help
+         Makes entry_points specified in setup.py load more quickly.
+
+         https://github.com/ninjaaron/fast-entry_points

So we have a Config.in option for a target package.

Quoted 2 lines

package/python-fastentrypoints/Config.in

Quoted 2 lines
package/python-fastentrypoints/Config.in new file +2 -0
+PYTHON_FASTENTRYPOINTS_VERSION = 0.10
+PYTHON_FASTENTRYPOINTS_SOURCE =

fastentrypoints-$(PYTHON_FASTENTRYPOINTS_VERSION).tar.gz

Quoted 1 line
Quoted 1 line

+PYTHON_FASTENTRYPOINTS_SITE =

https://pypi.python.org/packages/e8/c8/c2902c9c9da43d8be8c75a730f15f0c51933c42c39b91d1d7b605a88e907

Quoted 13 lines
Quoted 1 line

+PYTHON_FASTENTRYPOINTS_SETUP_TYPE = setuptools

The license file can be found on github and seems to be BSD-2c [1]

With these changes applied you can add my: Reviewed-by: Yegor Yefremov <[email protected]>

[1] https://github.com/ninjaaron/fast-entry_points/blob/master/LICENSE

Yegor

Quoted 2 lines

+
+$(eval $(host-python-package))

But this is a host only package ?

I don't see how this can work. Am I missing something ?

Quoted 8 lines

Best regards,

Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering
https://bootlin.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180409/0bf6f86f/attachment.html>

#4 lore raw

PATCH 1/1 python-fastentrypoints: new package

Hi Asaf,

Quoted 10 lines · Asaf Kahlon

Yegor, Thomas,

Indeed this is a host package. After you compile it, it can be used to speed up entry points.
I now see Buildroot uses Config.in.host for this kind of packages, so I can fix this on a new patch.

About the license - I saw the license file on the Github repository, but this license is not provided on the tar.gz archive downloaded from pypi, so how can I add the licence information?

Just use fastentrypoints.py as license file. I've asked maintainer to add license file to the PyPI's archive. So perhaps the new version would already have it.

Yegor

Quoted 65 lines
Quoted 63 lines · On Mon, Apr 9, 2018, 10:14 Thomas Petazzoni <[email protected]>…

Hello,

Quoted 8 lines · Yegor Yefremov
Quoted 5 lines · Asaf Kahlon

host-package that is able to shorten the load time of entry_points declared
in setup.py of python packages.

Unfortunately, license file was not found.

This comment shouldn't be part of the commit log.

I disagree, this comment makes sense in a commit log.

Quoted 5 lines
Quoted 5 lines
package/python-fastentrypoints/Config.in new file +0 -1
new file mode 100644
index 0000000000..d2c86dbc5e
--- /dev/null
Quoted 8 lines

package/python-fastentrypoints/Config.in line 6

Quoted 8 lines

+++ b/package/python-fastentrypoints/Config.in

package/python-fastentrypoints/Config.in new file +6 -0
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_FASTENTRYPOINTS
+       bool "python-fastentrypoints"
+       help
+         Makes entry_points specified in setup.py load more quickly.
+
+         https://github.com/ninjaaron/fast-entry_points

So we have a Config.in option for a target package.

Quoted 9 lines
Quoted 6 lines
package/python-fastentrypoints/Config.in new file +2 -0
+PYTHON_FASTENTRYPOINTS_VERSION = 0.10
+PYTHON_FASTENTRYPOINTS_SOURCE =

fastentrypoints-$(PYTHON_FASTENTRYPOINTS_VERSION).tar.gz +PYTHON_FASTENTRYPOINTS_SITE =
https://pypi.python.org/packages/e8/c8/c2902c9c9da43d8be8c75a730f15f0c51933c42c39b91d1d7b605a88e907
+PYTHON_FASTENTRYPOINTS_SETUP_TYPE = setuptools

The license file can be found on github and seems to be BSD-2c [1]

Quoted 9 lines

With these changes applied you can add my: Reviewed-by: Yegor Yefremov <[email protected]>

[1] https://github.com/ninjaaron/fast-entry_points/blob/master/LICENSE

Yegor

Quoted 2 lines

+
+$(eval $(host-python-package))

But this is a host only package ?

I don't see how this can work. Am I missing something ?

Best regards,

Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering
https://bootlin.com

#5 lore raw

PATCH 1/1 python-fastentrypoints: new package

OK, I'll keep an eye on this package and when it updates I'll send a patch. Meantime, I'll put fastentrypoints.py as license file.

Thanks!

Quoted 69 lines · Yegor Yefremov

Hi Asaf,

Quoted 3 lines · Asaf Kahlon

Yegor, Thomas,

Indeed this is a host package. After you compile it, it can be used to

speed

Quoted 2 lines

up entry points.
I now see Buildroot uses Config.in.host for this kind of packages, so I

can

Quoted 4 lines

fix this on a new patch.

About the license - I saw the license file on the Github repository, but this license is not provided on the tar.gz archive downloaded from pypi,

so

Quoted 1 line

how can I add the licence information?

Just use fastentrypoints.py as license file. I've asked maintainer to add license file to the PyPI's archive. So perhaps the new version would already have it.

Yegor

Quoted 1 line

On Mon, Apr 9, 2018, 10:14 Thomas Petazzoni <

thomas.petazzoni at bootlin.com>

Quoted 7 lines
Quoted 6 lines · wrote:

Hello,

Quoted 1 line · Yegor Yefremov

On Sun, Apr 8, 2018 at 7:48 PM, Asaf Kahlon <[email protected]>

Quoted 11 lines · wrote:
Quoted 11 lines
Quoted 7 lines
Quoted 5 lines

host-package that is able to shorten the load time of entry_points declared
in setup.py of python packages.

Unfortunately, license file was not found.

This comment shouldn't be part of the commit log.

I disagree, this comment makes sense in a commit log.

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

package/python-fastentrypoints/Config.in line 4

Quoted 11 lines
package/python-fastentrypoints/Config.in new file +4 -0
new file mode 100644
index 0000000000..d2c86dbc5e
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_FASTENTRYPOINTS
+       bool "python-fastentrypoints"
+       help
+         Makes entry_points specified in setup.py load more

quickly.

Quoted 10 lines
Quoted 10 lines
Quoted 2 lines

package/python-fastentrypoints/Config.in line 6

Quoted 2 lines
package/python-fastentrypoints/Config.in new file +2 -0
+
+         https://github.com/ninjaaron/fast-entry_points

So we have a Config.in option for a target package.

Quoted 5 lines
Quoted 5 lines
package/python-fastentrypoints/Config.in new file +2 -0
+PYTHON_FASTENTRYPOINTS_VERSION = 0.10
+PYTHON_FASTENTRYPOINTS_SOURCE =

fastentrypoints-$(PYTHON_FASTENTRYPOINTS_VERSION).tar.gz +PYTHON_FASTENTRYPOINTS_SITE =
https://pypi.python.org/packages/e8/c8/

c2902c9c9da43d8be8c75a730f15f0c51933c42c39b91d1d7b605a88e907

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

+PYTHON_FASTENTRYPOINTS_SETUP_TYPE = setuptools

Quoted 25 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

The license file can be found on github and seems to be BSD-2c [1]

With these changes applied you can add my: Reviewed-by: Yegor Yefremov <[email protected]>

[1] https://github.com/ninjaaron/fast-entry_points/blob/master/

LICENSE

Quoted 17 lines
Quoted 17 lines
Quoted 5 lines

Yegor

Quoted 2 lines

+
+$(eval $(host-python-package))

But this is a host only package ?

I don't see how this can work. Am I missing something ?

Best regards,

Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering
https://bootlin.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180409/81a46784/attachment.html>