Project modified to be installable, installation files added

This commit is contained in:
2026-07-28 17:28:34 +05:00
parent 7858d7a3d4
commit 12c359b973
15 changed files with 55 additions and 7 deletions
+5 -1
View File
@@ -1 +1,5 @@
__pycache__
__pycache__/
build/
dist/
*.egg-info/
*.pyc
+13 -6
View File
@@ -43,11 +43,17 @@
Clone the repository and install:
```bash
git clone https://git.vmn.su/max/audio_splitter.git
cd audio_splitter
git clone https://github.com/yourusername/audio-splitter.git
cd audio-splitter
pip install .
```
Now the `audio_splitter` command is available globally:
```bash
audio_splitter input.mp3 tracks.txt
```
Or run directly without installation:
```bash
@@ -75,7 +81,10 @@ Create a `tracks.txt` file with one track per line:
### 2. Run the splitter
```bash
# If not installed
python -m audio_splitter.main my_album.mp3 tracks.txt
# If installed
audio_splitter my_album.mp3 tracks.txt
```
Output:
@@ -258,7 +267,7 @@ Contributions are welcome! Please follow these steps:
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
For bug reports or feature requests, please [open an issue](https://git.vmn.su/max/audio_splitter/issues).
For bug reports or feature requests, please [open an issue](https://github.com/yourusername/audio-splitter/issues).
---
@@ -278,6 +287,4 @@ Distributed under the GPU GPL v3 or later. See [LICENSE](LICENSE) for more infor
## 📬 Contact
**Maintainer:** [Maxim Vershinin](https://git.vmn.su/max)
**Project Link:** [https://git.vmn.su/max/audio_splitter](https://git.vmn.su/max/audio_splitter)
**Project Link:** [https://git.vmn.su/max/audio-splitter](https://git.vmn.su/max/audio-splitter)
View File
View File
+3
View File
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
+34
View File
@@ -0,0 +1,34 @@
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
setup(
name="audio_splitter",
version="0.1.0",
author="Maxim Vershinin",
author_email="im@vmn.su",
description="Split audio files using a flexible tracklist",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://git.vmn.su/max/audio_splitter",
packages=find_packages(),
python_requires=">=3.8",
license="GNU General Public License v3 (GPLv3)",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
entry_points={
"console_scripts": [
"audio_splitter = audio_splitter.main:main",
],
},
)