Skip to content

Commit

Permalink
Criado setup.py, para release 0.1
Browse files Browse the repository at this point in the history
close #18
  • Loading branch information
Carloshbfreire committed Aug 29, 2022
1 parent b424cd7 commit e4d778c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
12 changes: 4 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions Libpythonpro/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.1'
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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),
Expand All @@ -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=[
Expand Down

0 comments on commit e4d778c

Please sign in to comment.