summaryrefslogtreecommitdiffstats
path: root/robotframework-onap
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-04-30 16:14:19 -0400
committerDR695H <dr695h@att.com>2019-04-30 16:17:20 -0400
commit308b44cc1e6b95df3051e5f7db94389696763cca (patch)
tree05cacbb454f278c19fcd2815448e3145a3c430f9 /robotframework-onap
parent7599cd0e360ae1d9ff3d9185407271669e3b3c91 (diff)
move back to python based builds
move back to python based builds since maven was missing some things Change-Id: I9f5b4f50aaca4559a53f795f8f4525a8c8445fbc Issue-ID: TEST-141 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap')
-rw-r--r--robotframework-onap/pom.xml78
-rw-r--r--robotframework-onap/setup-template.py48
2 files changed, 0 insertions, 126 deletions
diff --git a/robotframework-onap/pom.xml b/robotframework-onap/pom.xml
deleted file mode 100644
index 6f8cc1d..0000000
--- a/robotframework-onap/pom.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <packaging>pom</packaging>
- <groupId>org.onap.testsuite.python-testing-utils</groupId>
- <artifactId>robotframework-onap</artifactId>
- <name>robotframework-onap</name>
- <version>0.4.0-SNAPSHOT</version>
- <description>Scripts written to be used during robot framework testing</description>
- <parent>
- <groupId>org.onap.oparent</groupId>
- <artifactId>oparent-python</artifactId>
- <version>1.2.3</version>
- <relativePath/>
- </parent>
- <properties>
- <!-- this wont work because pip applies a regex to names while this doesnt https://www.python.org/dev/peps/pep-0427/#id12
- <wheel.name>${project.artifactId}-${python_version}-py2-none-any.whl</wheel.name>-->
- <wheel.name>robotframework_onap-${python_version}-py2-none-any.whl</wheel.name>
- <python.sourceDirectory>${project.basedir}</python.sourceDirectory>
- <python.pypi.repository>https://nexus3.onap.org/repository/PyPi.snapshot/</python.pypi.repository>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-artifacts</id>
- <configuration>
- <artifacts>
- <artifact>
- <file>${project.build.directory}/maven-python/dist/${wheel.name}</file>
- <type>whl</type>
- </artifact>
- </artifacts>
- <skipAttach>false</skipAttach>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.github.UltimateDogg</groupId>
- <artifactId>maven-python-distribute-plugin</artifactId>
- <executions>
- <execution>
- <id>package</id>
- <goals>
- <goal>package</goal>
- </goals>
- </execution>
- <execution>
- <id>process</id>
- <goals>
- <goal>process-sources</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <sourceDirectory>${python.sourceDirectory}</sourceDirectory>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>exec-maven-plugin</artifactId>
- <groupId>org.codehaus.mojo</groupId>
- <executions>
- <execution>
- <id>tox-test</id>
- <configuration>
- <workingDirectory>${project.build.directory}</workingDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/robotframework-onap/setup-template.py b/robotframework-onap/setup-template.py
deleted file mode 100644
index e8d3dcf..0000000
--- a/robotframework-onap/setup-template.py
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2019 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-from setuptools import setup
-
-setup(
- name='${PROJECT_NAME}', # This is the name of your PyPI-package.
- keywords=("utils", "robotframework", "testing", "onap"),
- version='${VERSION}', # Update the version number for new releases
- license="Apache 2.0",
- description='Scripts written to be used during robot framework testing', # Info about script
- long_description="python-package that provides convenience methods to make certain tasks in robot framework easier."
- "since this uses robot framework internal libraries or may in the future, it is not meant as a"
- "general purpose library",
- url="https://github.com/onap/testsuite-python-testing-utils",
- platforms=['all'],
- install_requires=[
- 'dnspython',
- 'paramiko',
- 'pyyaml',
- 'robotframework',
- 'deepdiff>=2.5,<3.3',
- 'Jinja2'
- ], # what we need
- packages=['eteutils', 'loadtest', 'vcpeutils'], # The name of your scripts package
- package_dir={'eteutils': 'eteutils', 'loadtest': 'loadtest', 'vcpeutils':'vcpeutils'}, # The location of your scipts package
- classifiers=[
- 'Development Status :: 4 - Beta',
- 'Intended Audience :: Developers',
- 'Programming Language :: Python :: 2.7',
- 'Environment :: Plugins',
- 'Framework :: Robot Framework',
- 'Framework :: Robot Framework :: Library',
- 'License :: OSI Approved :: Apache Software License'
- ]
-)