Skip to content

Commit 62c143a

Browse files
committed
Ajusto instalador para registrar la documentacion básica
1 parent c14228c commit 62c143a

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Web services supported so far:
4545
------------------------------
4646

4747
AFIP:
48+
4849
* [WSAA][10]: authorization & authentication, including digital cryptographic signature
4950
* [WSFEv1][11]: domestic market (electronic invoice) -[English][12]-
5051
* [WSMTXCA][22]: domestic market (electronic invoice) -detailing articles and barcodes-
@@ -55,12 +56,14 @@ AFIP:
5556
* [wDigDepFiel][18]: customs (faithful depositary)
5657
* [WSCOC][19]: currency exchange operations autorization
5758
* [WSCDC][22]: invoice verification
58-
* [Taxpayers' Registe][26]:
59+
* [Taxpayers' Registe][26]: database to check sellers and buyers register
5960

6061
ARBA:
62+
6163
* [COT][20]: Provincial Operation Transport Code (aka electronic Shipping note)
6264

6365
ANMAT/SEDRONAR/SENASA (SNT):
66+
6467
* [TrazaMed][21]: National Medical Drug Traceability Program
6568
* [TrazaRenpre][24]: Controlled Chemical Precursors Traceability Program
6669
* [TrazaFito][25]: Phytosanitary Products Traceability Program

setup.py

+12-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@
6363
"RENPRE (Trazabilidad de Precursores Químicos), "
6464
"ARBA (Remito Electrónico)")
6565

66+
# convert the README and format in restructured text (only when registering)
67+
if os.path.exists("README.md"):
68+
try:
69+
cmd = ['pandoc', '--from=markdown', '--to=rst', 'README.md']
70+
long_desc = subprocess.check_output(cmd).decode("utf8")
71+
print "Long DESC", long_desc
72+
except Exception as e:
73+
warnings.warn("Exception when converting the README format: %s" % e)
74+
75+
6676
data_files = [
6777
(".", ["licencia.txt",]),
6878
("conf", ["conf/rece.ini", "conf/geotrust.crt", "conf/afip_ca_info.crt", ]),
@@ -433,7 +443,8 @@
433443
__version__ += "-homo" if HOMO else "-full"
434444

435445
else:
436-
desc = "Paquete PyAfipWs"
446+
desc = ("Interfases, tools and apps for Argentina's gov't. webservices "
447+
"(soap, com/dll, pdf, dbf, xml, etc.)")
437448
kwargs['package_dir'] = {'pyafipws': '.'}
438449
kwargs['packages'] = ['pyafipws']
439450
opts = {}

0 commit comments

Comments
 (0)