Commit 93959940 authored by Valentin Reis's avatar Valentin Reis

[packaging] Changes setup.py to use package_data for bundling schema

files.

This commit also removes the MANIFEST.in file.
parent a6552f20
Pipeline #7776 passed with stages
in 10 minutes and 46 seconds
include Makefile
include nrm/schemas/*.json
PYTHON:= $(shell which python2)
source:
$(PYTHON) setup.py sdist
install:
$(PYTHON) setup.py install --force
check:
tox
......@@ -5,7 +5,7 @@ from setuptools import setup, find_packages
setup(
name='nrm',
version='0.0.1',
version='0.1.0',
description="Argo Node Resource Manager",
author='Swann Perarnau',
author_email='swann@anl.gov',
......@@ -21,11 +21,6 @@ setup(
packages=find_packages(),
install_requires=[],
data_files=[('schemas', [
'nrm/schemas/downstreamEvent.json',
'nrm/schemas/manifest.yml',
'nrm/schemas/upstreamPub.json',
'nrm/schemas/upstreamRep.json',
'nrm/schemas/upstreamReq.json'])],
package_data={'nrm': ['schemas/*.json', 'schemas/*.yml']},
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