initial
This commit is contained in:
51
app/setup.py
Normal file
51
app/setup.py
Normal file
@@ -0,0 +1,51 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Setup script for defrag disk reorganizer"""
|
||||
from setuptools import setup, find_packages
|
||||
from pathlib import Path
|
||||
|
||||
# Read requirements
|
||||
requirements_path = Path(__file__).parent / 'requirements.txt'
|
||||
with open(requirements_path) as f:
|
||||
requirements = [
|
||||
line.strip()
|
||||
for line in f
|
||||
if line.strip() and not line.startswith('#')
|
||||
]
|
||||
|
||||
# Read long description from README
|
||||
readme_path = Path(__file__).parent / 'README.md'
|
||||
long_description = ""
|
||||
if readme_path.exists():
|
||||
with open(readme_path) as f:
|
||||
long_description = f.read()
|
||||
|
||||
setup(
|
||||
name='defrag',
|
||||
version='1.0.0',
|
||||
description='Intelligent disk reorganization system for 20TB+ data with deduplication and classification',
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
author='Project Defrag',
|
||||
author_email='defrag@example.com',
|
||||
url='https://github.com/yourusername/defrag',
|
||||
packages=find_packages(),
|
||||
install_requires=requirements,
|
||||
python_requires='>=3.9',
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'defrag=main:main',
|
||||
],
|
||||
},
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
'Intended Audience :: System Administrators',
|
||||
'Topic :: System :: Filesystems',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Programming Language :: Python :: 3.11',
|
||||
'Programming Language :: Python :: 3.12',
|
||||
],
|
||||
keywords='disk management storage deduplication classification migration',
|
||||
)
|
||||
Reference in New Issue
Block a user