diff --git a/.travis.yml b/.travis.yml index 6694375b7..09bc50a74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,7 @@ language: python python: - - 3.7 -install: - - pip install -q pipenv codecov - - pipenv sync --dev -script: + - 3.10 + + install: + - pip install -q -r requirements-dev.txt - flake8 - - pytest libpythonpro --cov=libpythonpro -after_success: - - codecov \ No newline at end of file diff --git a/Libpythonpro/__init__.py b/Libpythonpro/__init__.py index e69de29bb..5e3048b21 100644 --- a/Libpythonpro/__init__.py +++ b/Libpythonpro/__init__.py @@ -0,0 +1 @@ +__version__ = '0.1' \ No newline at end of file diff --git a/README.md b/README.md index b7a10cea4..9971f75e1 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,14 @@ Link para o curso [Python Pro](https://www.python.pro.br/) [![Python 3](https://pyup.io/repos/github/pythonprobr/libpythonpro/python-3-shield.svg)](https://pyup.io/repos/github/pythonprobr/libpythonpro/) [![codecov](https://codecov.io/gh/pythonprobr/libpythonpro/branch/master/graph/badge.svg)](https://codecov.io/gh/pythonprobr/libpythonpro) + Suportada versão 3 de Python Carlinhos Para instalar: ```console python3 -m venv .venv -source .venv/bin/activete +source .venv/bin/activate pip install -r requirements-dev.txt ``` diff --git a/setup.py b/setup.py index 1fea97a65..895662a98 100644 --- a/setup.py +++ b/setup.py @@ -101,7 +101,7 @@ def find_package_data( return out -PACKAGE = "libpythonpro" +PACKAGE = "Libpythonpro" NAME = PACKAGE DESCRIPTION = "Módulo para exemplificar construção de projetos Python no curso PyTools" AUTHOR = "Renzo Nuccitelli" @@ -117,7 +117,7 @@ def find_package_data( long_description_content_type='text/markdown', author=AUTHOR, author_email=AUTHOR_EMAIL, - license="GNU AFFERO GENERAL PUBLIC LICENSE", + license=read('LICENSE'), url=URL, packages=find_packages(exclude=["tests.*", "tests"]), package_data=find_package_data(PACKAGE, only_in_packages=False), @@ -128,7 +128,7 @@ def find_package_data( "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.10", "Framework :: Pytest", ], install_requires=[