# 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. import sys from os.path import dirname, join as jp, normcase as nc # This is only necessary in PyBuilder sources for bootstrap build_sources = nc(jp(dirname(__file__), "src/main/python")) if build_sources not in sys.path: sys.path.insert(0, build_sources) from pybuilder import bootstrap from pybuilder.core import Author, init, use_plugin bootstrap() use_plugin("python.core") use_plugin("python.pytddmon") use_plugin("python.distutils") use_plugin("python.install_dependencies") use_plugin("copy_resources") use_plugin("filter_resources") use_plugin("source_distribution") use_plugin("python.unittest") if sys.platform != "win32": use_plugin("python.cram")
# 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. import sys sys.path.insert(0, 'src/main/python') # This is only necessary in PyBuilder sources for bootstrap from pybuilder import bootstrap from pybuilder.core import Author, init, use_plugin bootstrap() use_plugin("python.core") use_plugin("python.pytddmon") use_plugin("python.distutils") use_plugin("python.install_dependencies") use_plugin("copy_resources") use_plugin("filter_resources") use_plugin("source_distribution") use_plugin("python.unittest") if sys.platform != "win32": use_plugin("python.cram")