auto-editor 29.0.0__tar.gz → 29.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: auto-editor
3
- Version: 29.0.0
3
+ Version: 29.0.1
4
4
  Summary: Auto-Editor: Effort free video editing!
5
5
  Author-email: WyattBlue <wyattblue@auto-editor.com>
6
6
  License-Expression: Unlicense
@@ -8,11 +8,9 @@ Project-URL: Bug Tracker, https://github.com/WyattBlue/auto-editor/issues
8
8
  Project-URL: Source Code, https://github.com/WyattBlue/auto-editor
9
9
  Project-URL: homepage, https://auto-editor.com
10
10
  Keywords: video,audio,media,editor,editing,processing,nonlinear,automatic,silence-detect,silence-removal,silence-speedup,motion-detection
11
- Requires-Python: <3.14,>=3.10
11
+ Requires-Python: >=3.10
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: numpy<3.0,>=2
15
- Requires-Dist: av<16,>=15.0
16
14
  Dynamic: license-file
17
15
 
18
16
  <p align="center"><img src="https://auto-editor.com/img/auto-editor-banner.webp" title="Auto-Editor" width="700"></p>
@@ -0,0 +1,3 @@
1
+ """Auto-Editor: Effort free video editing!"""
2
+
3
+ __version__ = "29.0.1"
@@ -0,0 +1,38 @@
1
+ """Main entry point for auto-editor when run as a module."""
2
+
3
+ import os
4
+ import sys
5
+ import subprocess
6
+ from pathlib import Path
7
+
8
+
9
+ def main():
10
+ """Run the auto-editor binary."""
11
+ # Find the binary in the package directory
12
+ package_dir = Path(__file__).parent
13
+
14
+ # Determine the binary name based on platform
15
+ if sys.platform.startswith('win'):
16
+ binary_name = 'auto-editor.exe'
17
+ else:
18
+ binary_name = 'auto-editor'
19
+
20
+ binary_path = package_dir / 'bin' / binary_name
21
+
22
+ if not binary_path.exists():
23
+ print(f"Error: auto-editor binary not found at {binary_path}", file=sys.stderr)
24
+ sys.exit(1)
25
+
26
+ # Execute the binary with all arguments
27
+ try:
28
+ result = subprocess.run([str(binary_path)] + sys.argv[1:])
29
+ sys.exit(result.returncode)
30
+ except KeyboardInterrupt:
31
+ sys.exit(130)
32
+ except Exception as e:
33
+ print(f"Error running auto-editor: {e}", file=sys.stderr)
34
+ sys.exit(1)
35
+
36
+
37
+ if __name__ == '__main__':
38
+ main()
@@ -0,0 +1,12 @@
1
+ """Command line interface for auto-editor."""
2
+
3
+ from auto_editor.__main__ import main
4
+
5
+
6
+ def cli():
7
+ """Entry point for console script."""
8
+ main()
9
+
10
+
11
+ if __name__ == '__main__':
12
+ cli()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: auto-editor
3
- Version: 29.0.0
3
+ Version: 29.0.1
4
4
  Summary: Auto-Editor: Effort free video editing!
5
5
  Author-email: WyattBlue <wyattblue@auto-editor.com>
6
6
  License-Expression: Unlicense
@@ -8,11 +8,9 @@ Project-URL: Bug Tracker, https://github.com/WyattBlue/auto-editor/issues
8
8
  Project-URL: Source Code, https://github.com/WyattBlue/auto-editor
9
9
  Project-URL: homepage, https://auto-editor.com
10
10
  Keywords: video,audio,media,editor,editing,processing,nonlinear,automatic,silence-detect,silence-removal,silence-speedup,motion-detection
11
- Requires-Python: <3.14,>=3.10
11
+ Requires-Python: >=3.10
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: numpy<3.0,>=2
15
- Requires-Dist: av<16,>=15.0
16
14
  Dynamic: license-file
17
15
 
18
16
  <p align="center"><img src="https://auto-editor.com/img/auto-editor-banner.webp" title="Auto-Editor" width="700"></p>
@@ -0,0 +1,13 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.py
5
+ auto_editor/__init__.py
6
+ auto_editor/__main__.py
7
+ auto_editor/cli.py
8
+ auto_editor.egg-info/PKG-INFO
9
+ auto_editor.egg-info/SOURCES.txt
10
+ auto_editor.egg-info/dependency_links.txt
11
+ auto_editor.egg-info/entry_points.txt
12
+ auto_editor.egg-info/top_level.txt
13
+ tests/test.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ auto-editor = auto_editor.cli:cli
@@ -0,0 +1 @@
1
+ auto_editor
@@ -1,24 +1,31 @@
1
1
  [build-system]
2
- requires = ["setuptools>=77"]
2
+ requires = ["setuptools>=77", "wheel"]
3
+ build-backend = "setuptools.build_meta"
3
4
 
4
5
  [project]
5
6
  name = "auto-editor"
6
- version = "29.0.0"
7
+ version = "29.0.1"
7
8
  description = "Auto-Editor: Effort free video editing!"
8
9
  readme = "README.md"
9
10
  license = "Unlicense"
10
11
  authors = [{ name = "WyattBlue", email = "wyattblue@auto-editor.com" }]
11
- requires-python = ">=3.10,<3.14"
12
- dependencies = [
13
- "numpy>=2,<3.0",
14
- "av>=15.0,<16",
15
- ]
12
+ requires-python = ">=3.10"
13
+ dependencies = []
16
14
  keywords = [
17
15
  "video", "audio", "media", "editor", "editing",
18
16
  "processing", "nonlinear", "automatic", "silence-detect",
19
17
  "silence-removal", "silence-speedup", "motion-detection",
20
18
  ]
21
19
 
20
+ [project.scripts]
21
+ auto-editor = "auto_editor.cli:cli"
22
+
23
+ [tool.setuptools.packages.find]
24
+ include = ["auto_editor*"]
25
+
26
+ [tool.setuptools.package-data]
27
+ auto_editor = ["bin/*"]
28
+
22
29
  [project.urls]
23
30
  "Bug Tracker" = "https://github.com/WyattBlue/auto-editor/issues"
24
31
  "Source Code" = "https://github.com/WyattBlue/auto-editor"
@@ -0,0 +1,72 @@
1
+ """Setup script for auto-editor binary distribution."""
2
+
3
+ import os
4
+ import sys
5
+ import shutil
6
+ from pathlib import Path
7
+ from setuptools import setup, find_packages
8
+ from setuptools.command.build_py import build_py
9
+
10
+
11
+ class BuildPyCommand(build_py):
12
+ """Custom build command to include binary."""
13
+
14
+ def run(self):
15
+ # Run the normal build
16
+ super().run()
17
+
18
+ # Copy the binary to the package
19
+ self.copy_binary()
20
+
21
+ def copy_binary(self):
22
+ """Copy the appropriate binary to the package."""
23
+ # Determine binary name and source path
24
+ if sys.platform.startswith('win'):
25
+ binary_name = 'auto-editor.exe'
26
+ else:
27
+ binary_name = 'auto-editor'
28
+
29
+ # Look for binary in current directory (where build places it)
30
+ source_binary = Path('.') / binary_name
31
+
32
+ if not source_binary.exists():
33
+ # Try alternative names for cross-compilation
34
+ platform_binaries = [
35
+ f'auto-editor-linux-x86_64',
36
+ f'auto-editor-macos-x86_64',
37
+ f'auto-editor-macos-arm64',
38
+ f'auto-editor-windows-amd64.exe'
39
+ ]
40
+
41
+ for alt_binary in platform_binaries:
42
+ alt_path = Path('.') / alt_binary
43
+ if alt_path.exists():
44
+ source_binary = alt_path
45
+ break
46
+
47
+ if not source_binary.exists():
48
+ print(f"Warning: Binary {binary_name} not found, wheel will not include binary")
49
+ return
50
+
51
+ # Create bin directory in the built package
52
+ package_dir = Path(self.build_lib) / 'auto_editor'
53
+ bin_dir = package_dir / 'bin'
54
+ bin_dir.mkdir(parents=True, exist_ok=True)
55
+
56
+ # Copy binary
57
+ dest_binary = bin_dir / binary_name
58
+ shutil.copy2(source_binary, dest_binary)
59
+
60
+ # Make it executable on Unix systems
61
+ if not sys.platform.startswith('win'):
62
+ dest_binary.chmod(0o755)
63
+
64
+ print(f"Copied binary {source_binary} to {dest_binary}")
65
+
66
+
67
+ if __name__ == '__main__':
68
+ setup(
69
+ cmdclass={
70
+ 'build_py': BuildPyCommand,
71
+ }
72
+ )
@@ -1,9 +0,0 @@
1
- LICENSE
2
- README.md
3
- pyproject.toml
4
- src/auto_editor.egg-info/PKG-INFO
5
- src/auto_editor.egg-info/SOURCES.txt
6
- src/auto_editor.egg-info/dependency_links.txt
7
- src/auto_editor.egg-info/requires.txt
8
- src/auto_editor.egg-info/top_level.txt
9
- tests/test.py
@@ -1,2 +0,0 @@
1
- numpy<3.0,>=2
2
- av<16,>=15.0
@@ -1,7 +0,0 @@
1
- analyze
2
- cmds
3
- exports
4
- imports
5
- palet
6
- render
7
- util
File without changes
File without changes
File without changes
File without changes