Browse Source

[ADD] Add setup.py

pull/595/head
Adrien Peiffer (ACSONE) 8 years ago
committed by Stéphane Bidoul (ACSONE)
parent
commit
6bb8a016d6
  1. 1
      setup/.setuptools-odoo-make-default-ignore
  2. 1
      setup/server_environment/odoo/__init__.py
  3. 1
      setup/server_environment/odoo/addons/__init__.py
  4. 1
      setup/server_environment/odoo/addons/server_environment
  5. 12
      setup/server_environment/setup.py

1
setup/.setuptools-odoo-make-default-ignore

@ -1,2 +1,3 @@
# addons listed in this file are ignored by
# setuptools-odoo-make-default (one addon per line)
server_environment_files_sample

1
setup/server_environment/odoo/__init__.py

@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

1
setup/server_environment/odoo/addons/__init__.py

@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

1
setup/server_environment/odoo/addons/server_environment

@ -0,0 +1 @@
../../../../server_environment

12
setup/server_environment/setup.py

@ -0,0 +1,12 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon={
'depends_override': {
# server_environment_file does not exist as a packaged addon,
# as it must be provided locally
'server_environment_files': '',
},
},
)
Loading…
Cancel
Save