mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
pip package
This commit is contained in:
parent
d809c4fb39
commit
c51a59483e
2 changed files with 14 additions and 11 deletions
22
av1an.py
22
av1an.py
|
@ -946,15 +946,17 @@ class Av1an:
|
|||
print('No valid work mode')
|
||||
exit()
|
||||
|
||||
def main():
|
||||
# Windows fix for multiprocessing
|
||||
multiprocessing.freeze_support()
|
||||
|
||||
# Main thread
|
||||
try:
|
||||
Av1an().main_thread()
|
||||
except KeyboardInterrupt:
|
||||
print('Encoding stopped')
|
||||
sys.exit()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
# Windows fix for multiprocessing
|
||||
multiprocessing.freeze_support()
|
||||
|
||||
# Main thread
|
||||
try:
|
||||
Av1an().main()
|
||||
except KeyboardInterrupt:
|
||||
print('Encoding stopped')
|
||||
sys.exit()
|
||||
main()
|
||||
|
|
3
setup.py
3
setup.py
|
@ -24,7 +24,8 @@ setuptools.setup(
|
|||
url="https://github.com/master-of-zen/Av1an",
|
||||
packages=setuptools.find_packages('.', exclude='tests'),
|
||||
install_requires=REQUIRES,
|
||||
entry_points={"console_scripts": ["Av1an=av1an:main"]}
|
||||
py_modules=['av1an'],
|
||||
entry_points={"console_scripts": ["av1an=av1an:main"]},
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
|
|
Loading…
Reference in a new issue