Skip to content

Commit f7efa39

Browse files
committed
SETUP: Make changes to allow sdist and PyPi to work
Fix missing files in PyPi
1 parent b1b7532 commit f7efa39

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

doc/source/change-log.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
Change Log
44
==========
5-
6-
Head (not released)
7-
-------------------
5+
Version 1.11.3
6+
--------------
87
* Extended 32-bit generation to
98

109
* Uniforms (:meth:`~randomstate.prng.mt19937.random_sample` and :meth:`~randomstate.prng.mt19937.rand`)
@@ -15,6 +14,7 @@ Head (not released)
1514
using the ``dtype`` keyword.
1615
* Removed ``random_uintegers`` since these are special cases of
1716
:meth:`~randomstate.entropy.randint`
17+
* Release to include files required for install from PyPi
1818

1919
Version 1.11.2
2020
--------------

setup.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,11 @@ def cythonize(e, *args, **kwargs):
246246
'Topic :: Security :: Cryptography']
247247

248248
setup(name='randomstate',
249-
version='1.11.2',
249+
version='1.11.3',
250250
classifiers=classifiers,
251251
packages=find_packages(),
252252
package_dir={'randomstate': './randomstate'},
253-
package_data={'': ['*.c', '*.h', '*.pxi', '*.pyx', '*.pxd'],
253+
package_data={'': ['*.c', '*.h', '*.pxi', '*.pyx', '*.pxd', '*.pxi.in'],
254254
'randomstate.tests.data': ['*.csv']},
255255
include_package_data=True,
256256
license='NSCA',
@@ -266,9 +266,9 @@ def cythonize(e, *args, **kwargs):
266266
zip_safe=False)
267267

268268
# Clean up generated files
269-
exts = ('.pyx', '-config.pxi', '.c')
270-
for config in configs:
271-
for ext in exts:
272-
file_path = join(mod_dir, config['file_name'] + ext)
273-
if os.path.exists(file_path):
274-
os.unlink(file_path)
269+
# exts = ('.pyx', '-config.pxi', '.c'),
270+
# for config in configs:
271+
# for ext in exts:
272+
# file_path = join(mod_dir, config['file_name'] + ext)
273+
# if os.path.exists(file_path):
274+
# os.unlink(file_path)

0 commit comments

Comments
 (0)