Fixes dependencies for install using pip without need of compilation
This commit is contained in:
parent
b5a0cce9e3
commit
0eca051e67
2 changed files with 10 additions and 2 deletions
|
|
@ -1,8 +1,15 @@
|
|||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from paramecio.cromosoma.corefields import CharField
|
||||
from paramecio.citoplasma.httputils import GetPostFiles
|
||||
from PIL import Image
|
||||
try:
|
||||
from PIL import Image
|
||||
except:
|
||||
print("Unexpected error:", sys.exc_info()[0])
|
||||
raise
|
||||
|
||||
|
||||
from uuid import uuid4
|
||||
#from paramecio.cromosoma.extraforms.fileform import FileForm
|
||||
|
||||
|
|
|
|||
3
setup.py
3
setup.py
|
|
@ -9,6 +9,7 @@ if sys.version_info < (3, 3):
|
|||
raise NotImplementedError("Sorry, you need at least Python 3.3 to use paramecio.")
|
||||
|
||||
#import paramecio
|
||||
# Pillow should be installed after if you need ImageField
|
||||
|
||||
setup(name='paramecio',
|
||||
version='0.1.2',
|
||||
|
|
@ -19,7 +20,7 @@ setup(name='paramecio',
|
|||
url='http://paramecioproject.com/',
|
||||
packages=['paramecio'],
|
||||
include_package_data=True,
|
||||
install_requires=['bottle', 'mako', 'passlib', 'bcrypt', 'pymysql', 'sqlalchemy', 'Pillow', 'beaker>=1.8.0', 'itsdangerous', 'colorama','cherrypy', 'arrow'],
|
||||
install_requires=['bottle', 'mako', 'passlib', 'bcrypt', 'pymysql', 'sqlalchemy', 'beaker>=1.8.0', 'itsdangerous', 'colorama','cherrypy', 'arrow'],
|
||||
entry_points={'console_scripts': [
|
||||
'paramecio = paramecio.console:start',
|
||||
]},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue