Closed Anthchirp closed 3 years ago
Just copying over the information from https://github.com/conda-forge/staged-recipes/pull/10021 so it is easier to find:
Entry points aren't registered properly. For example:
$ python -c "import pkg_resources;print(list(pkg_resources.iter_entry_points('pytest_randomly.random_seeder')))" []
The expected output is:
$ python -c "import pkg_resources;print(list(pkg_resources.iter_entry_points('pytest_randomly.random_seeder')))" [EntryPoint.parse('scitbx_flex = scitbx.array_family.flex:set_random_seed')]
The entry point is so that flex arrays can be correctly used in randomized tests of any downstream package.
Basically what we do in the development installation is roughly equivalent to
setuptools.setup( name='libtbx.scitbx', description='libtbx entry point manager for scitbx', entry_points={ "pytest_randomly.random_seeder": [ "scitbx_flex = scitbx.array_family.flex:set_random_seed" ], }, )
confirmed fixed. Thanks.
Just copying over the information from https://github.com/conda-forge/staged-recipes/pull/10021 so it is easier to find:
Entry points aren't registered properly. For example:
The expected output is:
The entry point is so that flex arrays can be correctly used in randomized tests of any downstream package.
Basically what we do in the development installation is roughly equivalent to