Skip to content

Commit

Permalink
fix missing module in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nichind committed Nov 16, 2024
1 parent 4a1a173 commit 18adfaa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 9 additions & 2 deletions install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@

python --version >nul 2>&1
if %errorlevel% neq 0 (
powershell -Command "Invoke-WebRequest -Uri https://www.python.org/ftp/python/3.11.0/python-3.11.0-amd64.exe -OutFile python_installer.exe"
if %PROCESSOR_ARCHITECTURE% == AMD64 (
powershell -Command "Invoke-WebRequest -Uri https://www.python.org/ftp/python/3.11.9/python-3.11.9-amd64.exe -OutFile python_installer.exe"
) else (
powershell -Command "Invoke-WebRequest -Uri https://www.python.org/ftp/python/3.11.9/python-3.11.9.exe -OutFile python_installer.exe"
)
start /wait python_installer.exe /quiet InstallAllUsers=1 PrependPath=1
)

python -m pip install --upgrade pip
python -m pip install pybalt

python -m pip install pybalt -U


pause

4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,19 @@ def readme():
"aiohttp",
"aiofiles",
"pytube",
'python-dotenv',
],
classifiers=[
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
python_requires=">=3.9",
entry_points={
"console_scripts": [
"pybalt=pybalt.__main__:main",
"cobalt=pybalt.__main__:main",
],
},
)

0 comments on commit 18adfaa

Please sign in to comment.