Skip to content

Commit

Permalink
Ajusto instalador para registrar la documentacion básica
Browse files Browse the repository at this point in the history
  • Loading branch information
reingart committed Jan 21, 2015
1 parent c14228c commit 62c143a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Web services supported so far:
------------------------------

AFIP:

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

ARBA:

* [COT][20]: Provincial Operation Transport Code (aka electronic Shipping note)

ANMAT/SEDRONAR/SENASA (SNT):

* [TrazaMed][21]: National Medical Drug Traceability Program
* [TrazaRenpre][24]: Controlled Chemical Precursors Traceability Program
* [TrazaFito][25]: Phytosanitary Products Traceability Program
Expand Down
13 changes: 12 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@
"RENPRE (Trazabilidad de Precursores Químicos), "
"ARBA (Remito Electrónico)")

# convert the README and format in restructured text (only when registering)
if os.path.exists("README.md"):
try:
cmd = ['pandoc', '--from=markdown', '--to=rst', 'README.md']
long_desc = subprocess.check_output(cmd).decode("utf8")
print "Long DESC", long_desc
except Exception as e:
warnings.warn("Exception when converting the README format: %s" % e)


data_files = [
(".", ["licencia.txt",]),
("conf", ["conf/rece.ini", "conf/geotrust.crt", "conf/afip_ca_info.crt", ]),
Expand Down Expand Up @@ -433,7 +443,8 @@
__version__ += "-homo" if HOMO else "-full"

else:
desc = "Paquete PyAfipWs"
desc = ("Interfases, tools and apps for Argentina's gov't. webservices "
"(soap, com/dll, pdf, dbf, xml, etc.)")
kwargs['package_dir'] = {'pyafipws': '.'}
kwargs['packages'] = ['pyafipws']
opts = {}
Expand Down

0 comments on commit 62c143a

Please sign in to comment.