diff options
-rw-r--r-- | pom.xml | 29 | ||||
-rw-r--r-- | robotframework-onap/pom.xml | 78 | ||||
-rw-r--r-- | robotframework-onap/setup-template.py | 48 |
3 files changed, 0 insertions, 155 deletions
diff --git a/pom.xml b/pom.xml deleted file mode 100644 index e4c85e4..0000000 --- a/pom.xml +++ /dev/null @@ -1,29 +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</groupId> - <artifactId>python-testing-utils</artifactId> - <name>testsuite-python-testing-utils</name> - <version>0.4.0-SNAPSHOT</version> - <description>parent project for scripts written to be used during robot framework testing</description> - - <modules> - <module>robotframework-onap</module> - </modules> - - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-deploy-plugin</artifactId> - <version>3.0.0-M1</version> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - </plugins> - </build> - -</project>
\ No newline at end of file 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' - ] -) |