FindAFactor 3.8.0__tar.gz → 3.8.1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: FindAFactor
3
- Version: 3.8.0
3
+ Version: 3.8.1
4
4
  Summary: Find any nontrivial factor of a number
5
5
  Home-page: https://github.com/vm6502q/FindAFactor
6
6
  Author: Dan Strano
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: FindAFactor
3
- Version: 3.8.0
3
+ Version: 3.8.1
4
4
  Summary: Find any nontrivial factor of a number
5
5
  Home-page: https://github.com/vm6502q/FindAFactor
6
6
  Author: Dan Strano
@@ -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=13,
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>=42",
5
+ "setuptools",
6
+ "scikit-build"
6
7
  ]
7
- build-backend = "setuptools.build_meta"
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.0"
15
+ version = "3.8.1"
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"}
@@ -26,7 +26,7 @@ class CMakeBuild(build_ext):
26
26
  os.chdir(self.build_temp)
27
27
  cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir]
28
28
  self.spawn(['cmake', ext.sourcedir] + cmake_args)
29
- self.spawn(['cmake', '--build', '.'])
29
+ self.spawn(['cmake', '--build', '.', '--config', 'Release'])
30
30
  os.chdir(wd)
31
31
 
32
32
  README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')
@@ -37,7 +37,7 @@ ext_modules = [CMakeExtension('_find_a_factor')]
37
37
 
38
38
  setup(
39
39
  name='FindAFactor',
40
- version='3.8.0',
40
+ version='3.8.1',
41
41
  author='Dan Strano',
42
42
  author_email='stranoj@gmail.com',
43
43
  description='Find any nontrivial factor of a number',
File without changes
File without changes