Skip to content

Commit 5a5abc7

Browse files
committed
SETUP: Add additional files for PyPi support
Add additional files to ensure PyPi works as expected
1 parent abce59c commit 5a5abc7

File tree

3 files changed

+17
-18
lines changed

3 files changed

+17
-18
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
recursive-include randomstate *.c *.h *.pxi *.pxd *.pyx
1+
recursive-include randomstate *.c *.h *.pxi *.pxd *.pyx *.in
22
recursive-include randomstate/tests *.csv
33
include *.md
44
exclude randomstate/entropy.c

README.rst

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,18 @@ Features
3131
import randomstate as rnd
3232
w = rnd.standard_normal(10000, method='zig')
3333
34-
- Preliminary support for 32-bit floating randoms for core generators.
35-
Currently only uniforms (``random_sample``), exponentials
36-
(``standard_exponential``) and normals (``standard_normal`` but only
37-
using Box-Muller, so ``method='bm'`` is required) have been
38-
implemented. Ultimately support should be avialable for:
39-
40-
- Uniforms
41-
- Exponentials
34+
- Support for 32-bit floating randoms for core generators. Currently
35+
supported:
36+
37+
- Uniforms (``random_sample``)
38+
- Exponentials (``standard_exponential``)
39+
- Normals (``standard_normal``, both Box-Muller and Ziggurat)
4240
- Standard Gammas (via ``standard_gamma``)
43-
- Normals (currently only implemented using Box-Muller
44-
transformation)
4541

4642
**WARNING**: The 32-bit generators are **experimental** and subjust to
4743
change.
4844

49-
**Note**: There are no plans to extend the alternative precision
45+
**Note**: There are *no* plans to extend the alternative precision
5046
generation to all random number types.
5147

5248
Included Pseudo Random Number Generators
@@ -61,7 +57,7 @@ in addition to the MT19937 that is included in NumPy. The RNGs include:
6157
SSE2-aware version of the MT19937 generator that is especially fast
6258
at generating doubles
6359
- `xorshift128+ <http://xorshift.di.unimi.it/>`__,
64-
`xoroshiro128+ <http://xoroshiro.di.unimi.it/>`__
60+
`xoroshiro128+ <http://xoroshiro.di.unimi.it/>`__ and
6561
`xorshift1024\* <http://xorshift.di.unimi.it/>`__
6662
- `PCG32 <http://www.pcg-random.org/>`__ and
6763
`PCG64 <http:w//www.pcg-random.org/>`__
@@ -148,10 +144,13 @@ Testing requires nose (1.3+).
148144
**Note:** it might work with other versions but only tested with these
149145
versions.
150146

151-
All development has been on 64-bit Linux, and it is regularly tested on
152-
Travis-CI. The library is occasionally tested on Linux 32-bit, OSX
153-
10.10, PC-BSD 10.2 (should also work on Free BSD) and Windows (Python
154-
2.7/3.5, both 32 and 64-bit).
147+
Development and Testing
148+
-----------------------
149+
150+
| All development has been on 64-bit Linux, and it is regularly tested
151+
on Travis-CI. The library is occasionally tested on Linux 32-bit,
152+
| OSX 10.10, PC-BSD 10.2 (should also work on Free BSD) and Windows
153+
(Python 2.7/3.5, both 32 and 64-bit).
155154
156155
Basic tests are in place for all RNGs. The MT19937 is tested against
157156
NumPy's implementation for identical results. It also passes NumPy's

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def cythonize(e, *args, **kwargs):
250250
classifiers=classifiers,
251251
packages=find_packages(),
252252
package_dir={'randomstate': './randomstate'},
253-
package_data={'': ['*.c', '*.h', '*.pxi', '*.pyx', '*.pxd', '*.pxi.in'],
253+
package_data={'': ['*.c', '*.h', '*.pxi', '*.pyx', '*.pxd'],
254254
'randomstate.tests.data': ['*.csv']},
255255
include_package_data=True,
256256
license='NSCA',

0 commit comments

Comments
 (0)