File size: 1,773 Bytes
83bdb4a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
@echo off



rem Instalaci�n y registraci�n de las dependencias para el proyecto PyAfipWs

rem 2015 (c) Mariano Reingart <reingart@gmail.com> - Licencia: GPLv3+



rem Nota: Es recomendable ejecutar este programa como Administrador 

rem       o en un entorno virtual (venv.bat)

rem Ver https://code.google.com/p/pyafipws/wiki/InstalacionCodigoFuente

pip 1> NUL 2> NUL
if %ERRORLEVEL%==9009 (
   echo Python 2.7.9 / PIP no ha sido encontrdo
   echo Por favor instale: https://www.python.org/ftp/python/2.7.9/python-2.7.9.msi
   echo Asegurese que el PATH contenga a C:\Python27 y la carpeta C:\Python27\scripts
   pause
   start https://www.python.org/ftp/python/2.7.9/python-2.7.9.msi
   exit 1
)

echo *** Instalar las dependencias binarias (precompiladas):

pip install http://www.sistemasagiles.com.ar/soft/pyafipws/M2Crypto-0.22.3-cp27-none-win32.whl
pip install http://www.sistemasagiles.com.ar/soft/pyafipws/pywin32-219-cp27-none-win32.whl

echo *** Instalar el resto de las dependencias:

pip install -r requirements.txt

echo *** Registrando componentes...

python wsaa.py --register
python wsfev1.py --register
python wsfexv1.py --register
python wsbfev1.py --register
python wsmtx.py --register

python wscdc.py --register

python pyfepdf.py --register
python pyi25.py --register
python pyemail.py --register

python padron.py --register

python cot.py --register

python wsctgv2.py --register
python wslpg.py --register

python trazamed.py --register
python trazarenpre.py --register
python trazafito.py --register
python trazavet.py --register

echo *** Listo!

echo Para generar el instalador debe descargar e instalar:
echo Nullsoft Scriptable Install System (NSIS): http://nsis.sourceforge.net/

pause