Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FFDN
himport
Commits
a5fec913
Commit
a5fec913
authored
Jan 28, 2019
by
plb
Committed by
Team adminsys FFDN
Jan 28, 2019
Browse files
Merge branch 'fixes' of zorun/himport into master
parents
fbd63dcd
04a7006d
Changes
5
Hide whitespace changes
Inline
Side-by-side
himport/cli.py
View file @
a5fec913
...
...
@@ -95,7 +95,7 @@ def do_sqlalchemy(options):
def
main
():
locale
.
setlocale
(
locale
.
LC_ALL
,
b
'fr_FR.utf-8'
)
locale
.
setlocale
(
locale
.
LC_ALL
,
'fr_FR.utf-8'
)
options
=
process_args
()
do_sqlalchemy
(
options
)
...
...
@@ -105,5 +105,5 @@ if __name__ == "__main__":
try
:
main
(
sys
.
argv
[
1
:])
except
Exception
as
e
:
print
e
.
message
print
(
e
.
message
)
sys
.
exit
(
1
)
himport/dolibarrAlchemyHledger.py
View file @
a5fec913
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
import
settings
import
datetime
from
himport
import
settings
from
himport.dolibarrAlchemy
import
DolibarrSQLAlchemy
...
...
himport/dolibarrWriter.py
View file @
a5fec913
import
settings
import
os
import
codecs
from
himport
import
settings
class
Writer
(
object
):
output_files
=
settings
.
get
(
'OUTPUT_FILES'
)
...
...
requirements.pip
View file @
a5fec913
MySQL-python
mysqlclient
sqlalchemy
setup.py
View file @
a5fec913
...
...
@@ -76,7 +76,7 @@ setup(
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires
=
[
'
MySQL-python
'
,
'sqlalchemy'
,
'future'
],
install_requires
=
[
'
mysqlclient
'
,
'sqlalchemy'
,
'future'
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment