-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corrigido a instalação do pacote no pypi(#59)
close #59
- Loading branch information
1 parent
0e3418f
commit aa8cbb8
Showing
6 changed files
with
58 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__version__ = 'v3.2.0' | ||
__version__ = 'v3.2.3' | ||
__author__ = 'Ivo H. Trindade Silva' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,6 @@ pytest-qt | |
blue | ||
isort | ||
|
||
-r requirements.txt | ||
PySide2 | ||
toml | ||
auto-py-to-exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,66 @@ | ||
import io | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
|
||
|
||
def read(filename): | ||
return [requirement.strip() for requirement in open(filename).readlines()] | ||
def read(*names, **kwargs): | ||
"""Read a file.""" | ||
content = '' | ||
with io.open( | ||
os.path.join(os.path.dirname(__file__), *names), | ||
encoding=kwargs.get('encoding', 'utf8'), | ||
) as open_file: | ||
content = open_file.read().strip() | ||
return content | ||
|
||
|
||
PACKAGE = "conversor_divisor" | ||
NAME = "conversor_divisor" | ||
DESCRIPTION = "software for converting and splitting medias" | ||
PACKAGE = 'conversor_divisor' | ||
NAME = 'conversor_divisor' | ||
DESCRIPTION = 'software for converting and splitting medias' | ||
AUTHOR = __import__(PACKAGE).__author__ | ||
AUTHOR_EMAIL = "haddleytrindade@gmail.com" | ||
URL = "https://github.com/hadtrindade/conversor-e-divisor" | ||
AUTHOR_EMAIL = 'haddleytrindade@gmail.com' | ||
URL = 'https://github.com/hadtrindade/conversor-e-divisor' | ||
VERSION = __import__(PACKAGE).__version__ | ||
|
||
setup( | ||
name=NAME, | ||
version=VERSION, | ||
author=AUTHOR, | ||
author_email=AUTHOR_EMAIL, | ||
license="MIT", | ||
keywords="GUI for converting and splitting medias using ffmpeg and mp4box", | ||
license='MIT', | ||
keywords='GUI for converting and splitting medias using ffmpeg and mp4box', | ||
url=URL, | ||
description=DESCRIPTION, | ||
packeges=find_packages( | ||
exclude=["tests", "dist", "build", "FFmpeg", "MP4Box", "HandBrakeCLI",] | ||
long_description=read('README.md'), | ||
long_description_content_type='text/markdown', | ||
install_requires=read('requirements.txt'), | ||
extras_require={'dev': read('requirements_dev.txt')}, | ||
packages=find_packages( | ||
exclude=[ | ||
'tests', | ||
'dist', | ||
'build', | ||
'FFmpeg', | ||
'MP4Box', | ||
'HandBrakeCLI', | ||
] | ||
), | ||
include_package_data=True, | ||
install_requires=read("requirements.txt"), | ||
python_requires='>=3.8', | ||
entry_points={ | ||
"console_scripts": [ | ||
"conversor_divisor=conversor_divisor.app:start_app", | ||
'console_scripts': [ | ||
'conversor-divisor=conversor_divisor.app:start_app', | ||
], | ||
}, | ||
setup_requires=['setuptools>=38.6.0'], | ||
classifiers=[ | ||
"Environment :: Console", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3.10", | ||
"Framework :: Pytest", | ||
'Environment :: Console', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3.10', | ||
'Framework :: Pytest', | ||
], | ||
zip_safe=False, | ||
platforms='any', | ||
) |