Skip to content

Commit e4d778c

Browse files
Criado setup.py, para release 0.1
close #18
1 parent b424cd7 commit e4d778c

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
language: python
22
python:
3-
- 3.7
4-
install:
5-
- pip install -q pipenv codecov
6-
- pipenv sync --dev
7-
script:
3+
- 3.10
4+
5+
install:
6+
- pip install -q -r requirements-dev.txt
87
- flake8
9-
- pytest libpythonpro --cov=libpythonpro
10-
after_success:
11-
- codecov

Libpythonpro/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.1'

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ Link para o curso [Python Pro](https://www.python.pro.br/)
1111
[![Python 3](https://pyup.io/repos/github/pythonprobr/libpythonpro/python-3-shield.svg)](https://pyup.io/repos/github/pythonprobr/libpythonpro/)
1212
[![codecov](https://codecov.io/gh/pythonprobr/libpythonpro/branch/master/graph/badge.svg)](https://codecov.io/gh/pythonprobr/libpythonpro)
1313

14+
1415
Suportada versão 3 de Python Carlinhos
1516

1617
Para instalar:
1718

1819
```console
1920
python3 -m venv .venv
20-
source .venv/bin/activete
21+
source .venv/bin/activate
2122
pip install -r requirements-dev.txt
2223
```
2324

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def find_package_data(
101101
return out
102102

103103

104-
PACKAGE = "libpythonpro"
104+
PACKAGE = "Libpythonpro"
105105
NAME = PACKAGE
106106
DESCRIPTION = "Módulo para exemplificar construção de projetos Python no curso PyTools"
107107
AUTHOR = "Renzo Nuccitelli"
@@ -117,7 +117,7 @@ def find_package_data(
117117
long_description_content_type='text/markdown',
118118
author=AUTHOR,
119119
author_email=AUTHOR_EMAIL,
120-
license="GNU AFFERO GENERAL PUBLIC LICENSE",
120+
license=read('LICENSE'),
121121
url=URL,
122122
packages=find_packages(exclude=["tests.*", "tests"]),
123123
package_data=find_package_data(PACKAGE, only_in_packages=False),
@@ -128,7 +128,7 @@ def find_package_data(
128128
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
129129
"Operating System :: OS Independent",
130130
"Programming Language :: Python",
131-
"Programming Language :: Python :: 3.6",
131+
"Programming Language :: Python :: 3.10",
132132
"Framework :: Pytest",
133133
],
134134
install_requires=[

0 commit comments

Comments
 (0)