Skip to content

Commit

Permalink
Using Apache 2.0 license (issue jpy-consortium#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
forman committed Sep 10, 2015
1 parent 65b3981 commit c981939
Show file tree
Hide file tree
Showing 55 changed files with 832 additions and 1,023 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jpy Changelog
Version 0.8
===========

*
* Switched to Apache 2.0 license from version 0.8 and later (issue #60)
* Fixed problem where a Python interpreter crash occurred when executing del statement on Java arrays (issue #52)
* Fixed problem where loading of jpy DLL fails for user-specific Python installations on Windows (issue #58)
* Fixed problem where Java interface types didn't expose java.lang.Object methods (issue #57)
Expand Down
876 changes: 202 additions & 674 deletions LICENSE.txt

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@

# General information about the project.
project = 'jpy'
copyright = '2014, Brockmann Consult GmbH'
copyright = '2015, Brockmann Consult GmbH'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.7'
version = '0.8'
# The full version, including alpha/beta/rc tags.
release = '0.7.2'
release = '0.8.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
25 changes: 13 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2014 Brockmann Consult GmbH
~ Copyright 2015 Brockmann Consult GmbH
~
~ This program is free software; you can redistribute it and/or modify it under the terms of the GNU
~ General Public License as published by the Free Software Foundation; either version 3 of the License,
~ or (at your option) any later version. This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
~ PARTICULAR PURPOSE. See the GNU General Public License for more details.
~ 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
~
~ You should have received a copy of the GNU General Public License along with this program; if not, see
~ http://www.gnu.org/licenses/
~ 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.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
Expand All @@ -32,10 +35,8 @@

<licenses>
<license>
<name>GPL 3</name>
<url>http://www.gnu.org/licenses/gpl-3.0</url>
<distribution>repo</distribution>
<comments>GNU General Public License</comments>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

Expand Down
22 changes: 18 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
# !/usr/bin/env python3

# Copyright 2015 Brockmann Consult GmbH
#
# 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.

__author__ = "Norman Fomferra, Brockmann Consult GmbH"
__copyright__ = "Copyright (C) 2015 Brockmann Consult GmbH"
__license__ = "GPL v3"
__copyright__ = "Copyright 2015 Brockmann Consult GmbH"
__license__ = "Apache 2.0"
__version__ = "0.8.0"

import sys
Expand Down Expand Up @@ -168,7 +182,7 @@
author_email='[email protected]',
maintainer='Brockmann Consult GmbH',
maintainer_email='[email protected]',
license='GPL 3',
license=__license__,
url='https://github.com/bcdev/jpy',
download_url='https://pypi.python.org/pypi/jpy/' + __version__,
py_modules=['jpyutil'],
Expand Down Expand Up @@ -203,7 +217,7 @@
'Intended Audience :: Developers',

# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GPL 3 License',
'License :: OSI Approved :: Apache 2 License',

# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
Expand Down
16 changes: 16 additions & 0 deletions src/main/c/jni/org_jpy_DL.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2015 Brockmann Consult GmbH
*
* 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.
*/

#include "org_jpy_DL.h"

#if !defined(_WIN32) && !defined(__CYGWIN__)
Expand Down
19 changes: 11 additions & 8 deletions src/main/c/jni/org_jpy_PyLib.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/*
* Copyright (C) 2014 Brockmann Consult GmbH
* Copyright 2015 Brockmann Consult GmbH
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version. This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public License for more details.
* 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
*
* You should have received a copy of the GNU General Public License along with this program; if not, see
* http://www.gnu.org/licenses/
* 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.
*/

#include <jni.h>
Expand Down
16 changes: 16 additions & 0 deletions src/main/c/jpy_compat.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2015 Brockmann Consult GmbH
*
* 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.
*/

#include "jpy_compat.h"


Expand Down
16 changes: 16 additions & 0 deletions src/main/c/jpy_compat.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2015 Brockmann Consult GmbH
*
* 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.
*/

#ifndef JPY_COMPAT_H
#define JPY_COMPAT_H

Expand Down
19 changes: 11 additions & 8 deletions src/main/c/jpy_conv.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/*
* Copyright (C) 2014 Brockmann Consult GmbH
* Copyright 2015 Brockmann Consult GmbH
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version. This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public License for more details.
* 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
*
* You should have received a copy of the GNU General Public License along with this program; if not, see
* http://www.gnu.org/licenses/
* 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.
*/

#include "jpy_module.h"
Expand Down
19 changes: 11 additions & 8 deletions src/main/c/jpy_conv.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/*
* Copyright (C) 2014 Brockmann Consult GmbH
* Copyright 2015 Brockmann Consult GmbH
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version. This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public License for more details.
* 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
*
* You should have received a copy of the GNU General Public License along with this program; if not, see
* http://www.gnu.org/licenses/
* 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.
*/

#ifndef JPY_CONV_H
Expand Down
19 changes: 11 additions & 8 deletions src/main/c/jpy_diag.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/*
* Copyright (C) 2014 Brockmann Consult GmbH
* Copyright 2015 Brockmann Consult GmbH
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version. This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public License for more details.
* 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
*
* You should have received a copy of the GNU General Public License along with this program; if not, see
* http://www.gnu.org/licenses/
* 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.
*/

#include <Python.h>
Expand Down
19 changes: 11 additions & 8 deletions src/main/c/jpy_diag.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/*
* Copyright (C) 2014 Brockmann Consult GmbH
* Copyright 2015 Brockmann Consult GmbH
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version. This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public License for more details.
* 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
*
* You should have received a copy of the GNU General Public License along with this program; if not, see
* http://www.gnu.org/licenses/
* 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.
*/

#ifndef JPY_DIAG_H
Expand Down
19 changes: 11 additions & 8 deletions src/main/c/jpy_jarray.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/*
* Copyright (C) 2014 Brockmann Consult GmbH
* Copyright 2015 Brockmann Consult GmbH
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version. This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public License for more details.
* 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
*
* You should have received a copy of the GNU General Public License along with this program; if not, see
* http://www.gnu.org/licenses/
* 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.
*/

#include "jpy_module.h"
Expand Down
19 changes: 11 additions & 8 deletions src/main/c/jpy_jarray.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/*
* Copyright (C) 2014 Brockmann Consult GmbH
* Copyright 2015 Brockmann Consult GmbH
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version. This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public License for more details.
* 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
*
* You should have received a copy of the GNU General Public License along with this program; if not, see
* http://www.gnu.org/licenses/
* 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.
*/

#ifndef JPY_JARRAY_H
Expand Down
19 changes: 11 additions & 8 deletions src/main/c/jpy_jfield.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/*
* Copyright (C) 2014 Brockmann Consult GmbH
* Copyright 2015 Brockmann Consult GmbH
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version. This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public License for more details.
* 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
*
* You should have received a copy of the GNU General Public License along with this program; if not, see
* http://www.gnu.org/licenses/
* 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.
*/

#include "jpy_module.h"
Expand Down
Loading

0 comments on commit c981939

Please sign in to comment.