geasseeker 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. geasseeker-0.0.1/AUTHORS.rst +9 -0
  2. geasseeker-0.0.1/LICENSE.rst +5 -0
  3. geasseeker-0.0.1/MANIFEST.in +10 -0
  4. geasseeker-0.0.1/PKG-INFO +42 -0
  5. geasseeker-0.0.1/README.rst +13 -0
  6. geasseeker-0.0.1/docs/IO License Terms.pdf +0 -0
  7. geasseeker-0.0.1/docs/Seeker_Reference_Manual.pdf +0 -0
  8. geasseeker-0.0.1/docs/Seeker_User_s_Manual.pdf +0 -0
  9. geasseeker-0.0.1/docs/authors.rst +1 -0
  10. geasseeker-0.0.1/docs/index.rst +18 -0
  11. geasseeker-0.0.1/docs/installation.rst +25 -0
  12. geasseeker-0.0.1/docs/readme.rst +1 -0
  13. geasseeker-0.0.1/docs/usage.rst +7 -0
  14. geasseeker-0.0.1/geasseeker/__init__.py +2 -0
  15. geasseeker-0.0.1/geasseeker/bin/coll +0 -0
  16. geasseeker-0.0.1/geasseeker/bin/coll-linux +0 -0
  17. geasseeker-0.0.1/geasseeker/bin/coll.exe +0 -0
  18. geasseeker-0.0.1/geasseeker/bin/hard +0 -0
  19. geasseeker-0.0.1/geasseeker/bin/hard.exe +0 -0
  20. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-310-darwin.so +0 -0
  21. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-310-linux.so +0 -0
  22. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-310-windows.pyd +0 -0
  23. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-311-darwin.so +0 -0
  24. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-311-linux.so +0 -0
  25. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-311-windows.pyd +0 -0
  26. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-312-darwin.so +0 -0
  27. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-312-linux.so +0 -0
  28. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-312-windows.pyd +0 -0
  29. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-313-darwin.so +0 -0
  30. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-313-linux.so +0 -0
  31. geasseeker-0.0.1/geasseeker/geasseeker.2.2.0.cpython-313-windows.pyd +0 -0
  32. geasseeker-0.0.1/geasseeker/geasseeker.dll +0 -0
  33. geasseeker-0.0.1/geasseeker/geasseeker.py +72 -0
  34. geasseeker-0.0.1/geasseeker/highs.dll +0 -0
  35. geasseeker-0.0.1/geasseeker/libboost_filesystem-mt.dll +0 -0
  36. geasseeker-0.0.1/geasseeker/libstdc++-6.dll +0 -0
  37. geasseeker-0.0.1/geasseeker/libwinpthread-1.dll +0 -0
  38. geasseeker-0.0.1/geasseeker/scripts/collect.sh +6 -0
  39. geasseeker-0.0.1/geasseeker/scripts/darwin-collect.sh +6 -0
  40. geasseeker-0.0.1/geasseeker/scripts/darwin_seekeragg.sh +9 -0
  41. geasseeker-0.0.1/geasseeker/scripts/seekeragg.sh +11 -0
  42. geasseeker-0.0.1/geasseeker.egg-info/PKG-INFO +42 -0
  43. geasseeker-0.0.1/geasseeker.egg-info/SOURCES.txt +46 -0
  44. geasseeker-0.0.1/geasseeker.egg-info/dependency_links.txt +1 -0
  45. geasseeker-0.0.1/geasseeker.egg-info/not-zip-safe +1 -0
  46. geasseeker-0.0.1/geasseeker.egg-info/top_level.txt +1 -0
  47. geasseeker-0.0.1/setup.cfg +4 -0
  48. geasseeker-0.0.1/setup.py +40 -0
@@ -0,0 +1,9 @@
1
+ =======
2
+ Credits
3
+ =======
4
+
5
+ Development Lead
6
+ ----------------
7
+
8
+ * Meinolf Sellmann <info@insideopt.com>
9
+
@@ -0,0 +1,5 @@
1
+ ===================
2
+ Copyright Protected
3
+ ===================
4
+
5
+ * (c) InsideOpt 2026 - All Rights Reserved! NOT OPEN SOURCE!
@@ -0,0 +1,10 @@
1
+ include AUTHORS.rst
2
+ include LICENSE.rst
3
+ include README.rst
4
+
5
+ recursive-include tests *
6
+ recursive-exclude * __pycache__
7
+ recursive-exclude * *.py[co]
8
+
9
+ recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif *.pdf
10
+ recursive-include geasseeker *.so *.pyd geasseeker.py
@@ -0,0 +1,42 @@
1
+ Metadata-Version: 2.4
2
+ Name: geasseeker
3
+ Version: 0.0.1
4
+ Summary: InsideOpt Seeker Distribution for GEAS on Windows
5
+ Author: Meinolf Sellmann
6
+ Author-email: info@insideopt.com
7
+ Keywords: insideopt,seeker,optimization
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Natural Language :: English
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Operating System :: Microsoft :: Windows
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Requires-Python: >=3.10.0
19
+ License-File: LICENSE.rst
20
+ License-File: AUTHORS.rst
21
+ Dynamic: author
22
+ Dynamic: author-email
23
+ Dynamic: classifier
24
+ Dynamic: description
25
+ Dynamic: keywords
26
+ Dynamic: license-file
27
+ Dynamic: requires-python
28
+ Dynamic: summary
29
+
30
+ ================
31
+ insideopt-seeker
32
+ ================
33
+
34
+ InsideOpt Seeker GEAS
35
+
36
+ Credits
37
+ -------
38
+
39
+ This package was created with Cookiecutter_.
40
+
41
+ .. _Cookiecutter: https://github.com/audreyr/cookiecutter
42
+ .. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
@@ -0,0 +1,13 @@
1
+ ================
2
+ insideopt-seeker
3
+ ================
4
+
5
+ InsideOpt Seeker GEAS
6
+
7
+ Credits
8
+ -------
9
+
10
+ This package was created with Cookiecutter_.
11
+
12
+ .. _Cookiecutter: https://github.com/audreyr/cookiecutter
13
+ .. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
@@ -0,0 +1 @@
1
+ .. include:: ../AUTHORS.rst
@@ -0,0 +1,18 @@
1
+ Welcome to geasseeker's documentation!
2
+ ======================================
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+ :caption: Contents:
7
+
8
+ readme
9
+ installation
10
+ modules
11
+ usage
12
+ authors
13
+
14
+ Indices and tables
15
+ ==================
16
+ * :ref:`genindex`
17
+ * :ref:`modindex`
18
+ * :ref:`search`
@@ -0,0 +1,25 @@
1
+ .. highlight:: shell
2
+
3
+ ============
4
+ Installation
5
+ ============
6
+
7
+
8
+ Stable release
9
+ --------------
10
+
11
+ To install geasseeker, run this command in your terminal:
12
+
13
+ .. code-block:: console
14
+
15
+ $ pip install geasseeker
16
+
17
+ This is the preferred method to install seeker, as it will always install the most recent stable release.
18
+
19
+ If you don't have `pip`_ installed, this `Python installation guide`_ can guide
20
+ you through the process.
21
+
22
+ .. _pip: https://pip.pypa.io
23
+ .. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/
24
+
25
+
@@ -0,0 +1 @@
1
+ .. include:: ../README.rst
@@ -0,0 +1,7 @@
1
+ =====
2
+ Usage
3
+ =====
4
+
5
+ To use test-seeker in a project::
6
+
7
+ import geasseeker as skr
@@ -0,0 +1,2 @@
1
+ from . import geasseeker
2
+ from .geasseeker import configure_distributed_run_directory
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,72 @@
1
+ import sys
2
+ import os
3
+ import platform
4
+ import importlib.util
5
+ import subprocess
6
+ import glob
7
+
8
+
9
+ def __bootstrap__():
10
+ global __bootstrap__, __loader__, __file__
11
+ import sys
12
+ # Get the major and minor Python version
13
+ py_version = f"{sys.version_info.major}{sys.version_info.minor}"
14
+ # Get the operating system
15
+ os_name = platform.system().lower()
16
+ if os_name == 'windows':
17
+ pyd_file = os.path.join(os.path.dirname(__file__),f"geasseeker.2.2.0.cpython-{py_version}-{os_name}.pyd")
18
+ spec = importlib.util.spec_from_file_location("geasseeker", pyd_file)
19
+ else:
20
+ so_file = os.path.join(os.path.dirname(__file__),f"geasseeker.2.2.0.cpython-{py_version}-{os_name}.so")
21
+ spec = importlib.util.spec_from_file_location("geasseeker", so_file)
22
+ mylib = importlib.util.module_from_spec(spec)
23
+ spec.loader.exec_module(mylib)
24
+
25
+
26
+ def set_new_SeekerPath(xrc, newdir):
27
+ # The environment variable and value you want to set
28
+ env_var = "SeekerPath"
29
+ # The .xrc file
30
+ xrc_file = os.path.expanduser(f"~/{xrc}")
31
+ # Read the current .xrc file
32
+ with open(xrc_file, "r") as file:
33
+ lines = file.readlines()
34
+ # Check if the environment variable is already set
35
+ lines = [line for line in lines if not line.strip().startswith(f"export {env_var}=")]
36
+ # Add the new environment variable setting
37
+ lines.append(f"export {env_var}={newdir}\n")
38
+ # Write the new .xrc file
39
+ with open(xrc_file, "w") as file:
40
+ file.writelines(lines)
41
+
42
+
43
+ def configure_distributed_run_directory():
44
+ global __bootstrap__, __loader__, __file__
45
+ import sys, pkg_resources, imp
46
+ # Get the install path from the user
47
+ path = os.path.expanduser(input("Please enter the absolute path to the new directory: "))
48
+ with open(os.path.expanduser('~/.bashrc'), 'a') as bashrc:
49
+ set_new_SeekerPath('.bashrc', path)
50
+ print("\n\t\033[91mAttention: Please run 'source ~/.bashrc' in your shell!\033[0m")
51
+ with open(os.path.expanduser('~/.zshrc'), 'a') as zshrc:
52
+ set_new_SeekerPath('.zshrc', path)
53
+ print("\n\t\033[91mAttention: Please run 'source ~/.zshrc' in your shell!\033[0m")
54
+ sourcedir = os.path.dirname(os.path.realpath(__file__))
55
+ source = os.path.join(sourcedir, f"scripts")
56
+ target = os.path.join(path, f"scripts")
57
+ subprocess.run(['cp', '-r', source, target], check=True)
58
+ sh_files = glob.glob(f"{target}/*.sh")
59
+ # Make each script executable
60
+ for file in sh_files:
61
+ subprocess.run(["chmod", "+x", file])
62
+ source = os.path.join(sourcedir, f"bin")
63
+ target = os.path.join(path, f"bin")
64
+ subprocess.run(['cp', '-r', source, target], check=True)
65
+ subprocess.run(["chmod", "+x", f"{target}/coll"])
66
+ print(f"\n\t\033[91mAttention: Please be sure to run this command: 'sudo spctl --add {target}/coll' \033[0m\n")
67
+ target = os.path.join(path, f"tmp")
68
+ subprocess.run(['mkdir', target], check=False, stderr=subprocess.DEVNULL)
69
+
70
+
71
+ __bootstrap__()
72
+
Binary file
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/bash
2
+
3
+ for f in $1/out_*.file; do
4
+ ${SeekerPath}/bin/coll $f $2 $3
5
+ sleep 0.2
6
+ done
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/bash
2
+
3
+ for f in $1/out_*.file; do
4
+ ${SeekerPath}/bin/darwin-coll $f $2 $3
5
+ sleep 0.2
6
+ done
@@ -0,0 +1,9 @@
1
+ echo $$ > $1/seekeragg.pid
2
+
3
+ for (( c=0; c< $4 ; c++ )) do
4
+ sleep 2
5
+ outFiles=$(gfind $1 -name out\*.file -printf '%P,')
6
+ ${SeekerPath}/bin/coll $1 $2 $3 ${outFiles}
7
+ done
8
+
9
+
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/bash
2
+
3
+ #echo "SEEKERAGG CALLED WITH ARGUMENTS $1 $2 $3 $4"
4
+
5
+ for (( c=0; c< $4 ; c++ )) do
6
+ sleep 2
7
+ outFiles=$(find $1 -name out\*.file -printf '%P,')
8
+ ${SeekerPath}/bin/coll-linux $1 $2 $3 ${outFiles}
9
+ done
10
+
11
+
@@ -0,0 +1,42 @@
1
+ Metadata-Version: 2.4
2
+ Name: geasseeker
3
+ Version: 0.0.1
4
+ Summary: InsideOpt Seeker Distribution for GEAS on Windows
5
+ Author: Meinolf Sellmann
6
+ Author-email: info@insideopt.com
7
+ Keywords: insideopt,seeker,optimization
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Natural Language :: English
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Operating System :: Microsoft :: Windows
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Requires-Python: >=3.10.0
19
+ License-File: LICENSE.rst
20
+ License-File: AUTHORS.rst
21
+ Dynamic: author
22
+ Dynamic: author-email
23
+ Dynamic: classifier
24
+ Dynamic: description
25
+ Dynamic: keywords
26
+ Dynamic: license-file
27
+ Dynamic: requires-python
28
+ Dynamic: summary
29
+
30
+ ================
31
+ insideopt-seeker
32
+ ================
33
+
34
+ InsideOpt Seeker GEAS
35
+
36
+ Credits
37
+ -------
38
+
39
+ This package was created with Cookiecutter_.
40
+
41
+ .. _Cookiecutter: https://github.com/audreyr/cookiecutter
42
+ .. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
@@ -0,0 +1,46 @@
1
+ AUTHORS.rst
2
+ LICENSE.rst
3
+ MANIFEST.in
4
+ README.rst
5
+ setup.py
6
+ docs/IO License Terms.pdf
7
+ docs/Seeker_Reference_Manual.pdf
8
+ docs/Seeker_User_s_Manual.pdf
9
+ docs/authors.rst
10
+ docs/index.rst
11
+ docs/installation.rst
12
+ docs/readme.rst
13
+ docs/usage.rst
14
+ geasseeker/__init__.py
15
+ geasseeker/geasseeker.2.2.0.cpython-310-darwin.so
16
+ geasseeker/geasseeker.2.2.0.cpython-310-linux.so
17
+ geasseeker/geasseeker.2.2.0.cpython-310-windows.pyd
18
+ geasseeker/geasseeker.2.2.0.cpython-311-darwin.so
19
+ geasseeker/geasseeker.2.2.0.cpython-311-linux.so
20
+ geasseeker/geasseeker.2.2.0.cpython-311-windows.pyd
21
+ geasseeker/geasseeker.2.2.0.cpython-312-darwin.so
22
+ geasseeker/geasseeker.2.2.0.cpython-312-linux.so
23
+ geasseeker/geasseeker.2.2.0.cpython-312-windows.pyd
24
+ geasseeker/geasseeker.2.2.0.cpython-313-darwin.so
25
+ geasseeker/geasseeker.2.2.0.cpython-313-linux.so
26
+ geasseeker/geasseeker.2.2.0.cpython-313-windows.pyd
27
+ geasseeker/geasseeker.dll
28
+ geasseeker/geasseeker.py
29
+ geasseeker/highs.dll
30
+ geasseeker/libboost_filesystem-mt.dll
31
+ geasseeker/libstdc++-6.dll
32
+ geasseeker/libwinpthread-1.dll
33
+ geasseeker.egg-info/PKG-INFO
34
+ geasseeker.egg-info/SOURCES.txt
35
+ geasseeker.egg-info/dependency_links.txt
36
+ geasseeker.egg-info/not-zip-safe
37
+ geasseeker.egg-info/top_level.txt
38
+ geasseeker/bin/coll
39
+ geasseeker/bin/coll-linux
40
+ geasseeker/bin/coll.exe
41
+ geasseeker/bin/hard
42
+ geasseeker/bin/hard.exe
43
+ geasseeker/scripts/collect.sh
44
+ geasseeker/scripts/darwin-collect.sh
45
+ geasseeker/scripts/darwin_seekeragg.sh
46
+ geasseeker/scripts/seekeragg.sh
@@ -0,0 +1 @@
1
+ geasseeker
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/env python
2
+
3
+ """The setup script."""
4
+
5
+ from setuptools import setup, find_packages, Extension
6
+
7
+ with open('README.rst') as readme_file:
8
+ readme = readme_file.read()
9
+
10
+ requirements = [ ]
11
+
12
+ test_requirements = [ ]
13
+
14
+ setup(
15
+ author="Meinolf Sellmann",
16
+ author_email='info@insideopt.com',
17
+ python_requires='>=3.10.0',
18
+ classifiers=[
19
+ 'Development Status :: 5 - Production/Stable',
20
+ 'Intended Audience :: Developers',
21
+ 'Natural Language :: English',
22
+ 'Programming Language :: Python :: 3.10',
23
+ 'Programming Language :: Python :: 3.11',
24
+ 'Programming Language :: Python :: 3.12',
25
+ 'Programming Language :: Python :: 3.13',
26
+ 'Operating System :: POSIX :: Linux',
27
+ 'Operating System :: Microsoft :: Windows',
28
+ 'Operating System :: MacOS :: MacOS X'
29
+ ],
30
+ description="InsideOpt Seeker Distribution for GEAS on Windows",
31
+ install_requires=requirements,
32
+ long_description=readme,
33
+ keywords='insideopt, seeker, optimization',
34
+ name='geasseeker',
35
+ test_suite='tests',
36
+ version='0.0.1',
37
+ packages=find_packages(include=['geasseeker', 'geasseeker.*', '*.so', '*.pyd', '*.dll']),
38
+ package_data={'geasseeker': ['*.so', 'geasseeker.py', 'bin/*', 'scripts/*', '*.pyd', '*.dll']},
39
+ zip_safe=False,
40
+ )