summaryrefslogtreecommitdiff
path: root/numpy/random/_examples/cython/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: random: remove `get_info` from "extending with Cython" exampleRalf Gommers2022-09-111-6/+9
| | | | xref gh-21431
* MAINT: import setuptools beforew distutilsmattip2021-11-191-0/+1
|
* BUG: Use lop1p to improve numerical precisionKevin Sheppard2021-03-171-7/+8
| | | | | | | Use log1p(-x) instead of log(1 - x) Seperate legacy version from current closes #17020
* TST: simplify source path names in compilation testmattip2020-10-271-2/+2
|
* BUG: add missing c_distributions.pxd, enables cython use of random C-API ↵Matti Picus2020-03-161-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (gh-15463) xref gh-14778 As pointed out in the comment by @jamesthomasgriffin, we did not include a pxd file to expose the distribution functions documented in the random c-api. This PR adds a c_distributions.pxd file that exposes them. Squashed commits: * BUG: add missing c_distributions.pxd to enable cython use of random C-API * ENH, TST: add npyrandom library like npymath, test cython use of it * BUG: actually prefix f-string with f * MAINT: fixes from review, add _bit_generato_bit_generator.pxd * STY: fixes from review * BLD: don't use nprandom library for mtrand legacy build * TST: WindowsPath cannot be used in subprocess's list2cmdline * MAINT, API: move _bit_generator to bit_generator * DOC: add release note about moving bit_generator * DOC, MAINT: fixes from review * MAINT: redo dtype determination from review
* MAINT: unskip test on win32mattip2019-12-271-2/+2
|
* BUG: use tmp dir and check version for cython test (#15170)Matti Picus2019-12-261-1/+5
| | | | | | | | | | | | * BUG: use tmp dir and check version for cython test * TST, MAINT: skip on win32, fix formatting * TST: fixes from review * TST: fixes from review * TST: fixes from review
* DOC: Clean up examples of low-level random accessKevin Sheppard2019-11-211-6/+5
| | | | | | Test examples on Linux and Windows Correct bug in Cython example Improve building instructions for numba examples
* MAINT: move numpy/random/examples -> numpy/random/_examplesmattip2019-11-191-0/+32