Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Adicionado extra_requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Aug 28, 2018
1 parent 6ab69fc commit bc72f35
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
venv
.talkshow
*.egg-info
database
Expand Down
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ language: python
python:
- "3.6"
install:
- "python setup.py install"
- "pip install flake8"
- "pip install --upgrade pip"
- "pip install .[dev]"
script:
- "flake8 talkshow/"
- "flake8 tests/"
- "py.test -v tests/"
- "py.test --cov=talkshow -v tests/"
after_success: codecov
16 changes: 12 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# coding: utf-8

from setuptools import setup

requirements = [
Expand All @@ -10,18 +9,27 @@
'flask-admin',
'flask-wtf',
'flask-restful',
'flask-pytest',
'flask-bootstrap',
'python-dotenv',
'flasgger'
]

requirements_extra = {
'dev': [
'flake8',
'codecov',
'pytest',
'pytest-cov',
'pytest-flask',
]
}

setup(
name='talkshow',
version='0.0.1',
version='0.1.0',
description="Call for papers system",
packages=['talkshow'],
include_package_data=True,
install_requires=requirements
install_requires=requirements,
extras_require=requirements_extra
)

0 comments on commit bc72f35

Please sign in to comment.