FindAFactor 3.8.0__tar.gz → 3.8.2__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {findafactor-3.8.0 → findafactor-3.8.2}/FindAFactor.egg-info/PKG-INFO +1 -1
- {findafactor-3.8.0 → findafactor-3.8.2}/PKG-INFO +1 -1
- {findafactor-3.8.0 → findafactor-3.8.2}/README.md +1 -1
- {findafactor-3.8.0 → findafactor-3.8.2}/pyproject.toml +7 -3
- {findafactor-3.8.0 → findafactor-3.8.2}/setup.py +6 -3
- {findafactor-3.8.0 → findafactor-3.8.2}/FindAFactor/__init__.py +0 -0
- {findafactor-3.8.0 → findafactor-3.8.2}/FindAFactor/_find_a_factor.cpp +0 -0
- {findafactor-3.8.0 → findafactor-3.8.2}/FindAFactor/dispatchqueue.cpp +0 -0
- {findafactor-3.8.0 → findafactor-3.8.2}/FindAFactor/find_a_factor.py +0 -0
- {findafactor-3.8.0 → findafactor-3.8.2}/FindAFactor/oclengine.cpp +0 -0
- {findafactor-3.8.0 → findafactor-3.8.2}/FindAFactor.egg-info/SOURCES.txt +0 -0
- {findafactor-3.8.0 → findafactor-3.8.2}/FindAFactor.egg-info/dependency_links.txt +0 -0
- {findafactor-3.8.0 → findafactor-3.8.2}/FindAFactor.egg-info/not-zip-safe +0 -0
- {findafactor-3.8.0 → findafactor-3.8.2}/FindAFactor.egg-info/top_level.txt +0 -0
- {findafactor-3.8.0 → findafactor-3.8.2}/LICENSE +0 -0
- {findafactor-3.8.0 → findafactor-3.8.2}/setup.cfg +0 -0
@@ -31,7 +31,7 @@ factor = find_a_factor(
|
|
31
31
|
use_gaussian_elimination=False,
|
32
32
|
node_count=1, node_id=0,
|
33
33
|
trial_division_level=2**20,
|
34
|
-
gear_factorization_level=
|
34
|
+
gear_factorization_level=11,
|
35
35
|
wheel_factorization_level=7,
|
36
36
|
smoothness_bound_multiplier=1.0,
|
37
37
|
batch_size_multiplier=2048.0
|
@@ -2,13 +2,17 @@
|
|
2
2
|
requires = [
|
3
3
|
"cmake",
|
4
4
|
"pybind11",
|
5
|
-
"setuptools
|
5
|
+
"setuptools",
|
6
|
+
"scikit-build"
|
6
7
|
]
|
7
|
-
build-backend = "
|
8
|
+
build-backend = "scikit_build.build"
|
9
|
+
|
10
|
+
[tool.scikit-build]
|
11
|
+
cmake.args = ["-DCMAKE_BUILD_TYPE=Release"]
|
8
12
|
|
9
13
|
[project]
|
10
14
|
name = "FindAFactor"
|
11
|
-
version = "3.8.
|
15
|
+
version = "3.8.2"
|
12
16
|
requires-python = ">=3.8"
|
13
17
|
description = "Find any nontrivial factor of a number"
|
14
18
|
readme = {file = "README.txt", content-type = "text/markdown"}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
from setuptools import setup, Extension
|
2
2
|
from setuptools.command.build_ext import build_ext
|
3
|
-
import sys
|
4
3
|
import os
|
5
4
|
|
6
5
|
class CMakeExtension(Extension):
|
@@ -26,7 +25,11 @@ class CMakeBuild(build_ext):
|
|
26
25
|
os.chdir(self.build_temp)
|
27
26
|
cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir]
|
28
27
|
self.spawn(['cmake', ext.sourcedir] + cmake_args)
|
29
|
-
self.spawn(['cmake', '--build', '.'])
|
28
|
+
self.spawn(['cmake', '--build', '.', '--config', 'Release'])
|
29
|
+
if os.name == 'nt':
|
30
|
+
os.chdir(extdir)
|
31
|
+
os.rename('Release/_find_a_factor.cp312-win_amd64.pyd', '_find_a_factor.cp312-win_amd64.pyd')
|
32
|
+
os.rmdir('Release')
|
30
33
|
os.chdir(wd)
|
31
34
|
|
32
35
|
README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')
|
@@ -37,7 +40,7 @@ ext_modules = [CMakeExtension('_find_a_factor')]
|
|
37
40
|
|
38
41
|
setup(
|
39
42
|
name='FindAFactor',
|
40
|
-
version='3.8.
|
43
|
+
version='3.8.2',
|
41
44
|
author='Dan Strano',
|
42
45
|
author_email='stranoj@gmail.com',
|
43
46
|
description='Find any nontrivial factor of a number',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|