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

Ajustar setup.py da branch master #17

Open
rochacbruno opened this issue Aug 28, 2018 · 3 comments
Open

Ajustar setup.py da branch master #17

rochacbruno opened this issue Aug 28, 2018 · 3 comments

Comments

@rochacbruno
Copy link
Owner

Ajustar setup conforme branch extended

Atualizar PDF

@Riverfount
Copy link
Contributor

Oi @rochacbruno seria possível explicitar melhor o que é necessário ajustar no setup.py?

@rochacbruno
Copy link
Owner Author

diff --git a/setup.py b/setup.py
index ab6f66c..2ec63ff 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,5 @@
 # coding: utf-8
-
-from setuptools import setup
+from setuptools import setup, find_packages
 
 requirements = [
     'flask',
@@ -10,18 +9,32 @@ requirements = [
     'flask-admin',
     'flask-wtf',
     'flask-restful',
-    'flask-pytest',
     'flask-bootstrap',
     'python-dotenv',
-    'flasgger'
+    'flasgger',
+    'dynaconf',
+    "awesome-slugify",
+    "tinydb-serialization"
 ]
 
+requirements_extra = {
+    'dev': [
+        'flake8',
+        'codecov',
+        'coverage',
+        'pytest>=3.8.2',
+        'pytest-cov>=2.5.1',
+        'pytest-flask>=0.13.0',
+        'flask-debugtoolbar',
+    ]
+}
 
 setup(
     name='talkshow',
-    version='0.0.1',
+    version='0.0.2',
     description="Call for papers system",
-    packages=['talkshow'],
+    packages=find_packages(include=['talkshow', 'talkshow.*']),
     include_package_data=True,
-    install_requires=requirements
+    install_requires=requirements,
+    extras_require=requirements_extra
 )

@rochacbruno rochacbruno changed the title Ajustar setup.py Ajustar setup.py da branch master Dec 14, 2018
@rochacbruno
Copy link
Owner Author

Tem que aplicar o diff acima e ai testar a branch master para ver se continua funcionando com este novo setup

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants