fix setup.py / install on FreeBSD

This commit is contained in:
Harald Welte 2016-07-24 12:48:20 +02:00
parent d679cc1d3d
commit c136b66a31
3 changed files with 3 additions and 5 deletions

View File

@ -12,7 +12,7 @@ import logging
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)
products_json = resource_stream(Requirement.parse("inema"), "data/products.json") products_json = resource_stream(Requirement.parse("inema"), "inema/data/products.json")
marke_products = json.load(products_json) marke_products = json.load(products_json)
def get_product_price_by_id(ext_prod_id): def get_product_price_by_id(ext_prod_id):

View File

@ -12,11 +12,9 @@ setup(
long_description=open('README.rst').read(), long_description=open('README.rst').read(),
author='Harald Welte', author='Harald Welte',
author_email='hwelte@sysmocom.de', author_email='hwelte@sysmocom.de',
packages=['inema']
install_requires=install_requires, install_requires=install_requires,
package_data={'inema': ['data/products.json']},
package_data={'': ['data/products.json']},
license='AGPLv3', license='AGPLv3',
classifiers=[ classifiers=[
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',