Commit 58958c5d authored by Valentin Reis's avatar Valentin Reis
Browse files

Merge branch 'setuppy' into 'master'

[packaging] Changes to use package_data for bundling schema

See merge request !102
parents a6552f20 93959940
Pipeline #7783 failed with stages
in 14 seconds
include Makefile
include nrm/schemas/*.json
PYTHON:= $(shell which python2)
$(PYTHON) sdist
$(PYTHON) install --force
...@@ -5,7 +5,7 @@ from setuptools import setup, find_packages ...@@ -5,7 +5,7 @@ from setuptools import setup, find_packages
setup( setup(
name='nrm', name='nrm',
version='0.0.1', version='0.1.0',
description="Argo Node Resource Manager", description="Argo Node Resource Manager",
author='Swann Perarnau', author='Swann Perarnau',
author_email='', author_email='',
...@@ -21,11 +21,6 @@ setup( ...@@ -21,11 +21,6 @@ setup(
packages=find_packages(), packages=find_packages(),
install_requires=[], install_requires=[],
data_files=[('schemas', [ package_data={'nrm': ['schemas/*.json', 'schemas/*.yml']},
scripts=['bin/nrmd', 'bin/app', 'bin/nrm', 'bin/nrm-perfwrapper'] scripts=['bin/nrmd', 'bin/app', 'bin/nrm', 'bin/nrm-perfwrapper']
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment