Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include MANIFEST.in
include README.rst setup.py runtests.py versioneer.py CHANGE_LOG LICENSE
include README.rst setup.py runtests.py versioneer.py CHANGE_LOG LICENSE LICENSES.third-party

recursive-include numba *.c *.cpp *.h *.hpp *.inc
recursive-include docs *.ipynb *.txt *.py Makefile *.rst
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

# General information about the project.
project = u'Numba'
copyright = u'2012-2020, Anaconda, Inc. and others'
copyright = u'2012, Anaconda, Inc. and others'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down
28 changes: 26 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,14 +384,37 @@ def check_file_at_path(path2file):
'numpy >={}'.format(min_numpy_run_version),
]


# License handling

# appdirs jquery.graphviz.svg
LICENSE_TYPE_MIT = "MIT"
# pythoncapi_compat
LICENSE_TYPE_ZERO_BSD = "0BSD"
# Numba itself
LICENSE_TYPE_BSD_2_CLAUSE = "BSD-2-Clause"
# NetworkX cloudpickle NumPy numba-cuda
LICENSE_TYPE_BSD_3_CLAUSE = "BSD-3-Clause"
# CPython CPython-unicode
LICENSE_TYPE_PYTHON_20 = "Python-2.0"
# FP16 headers per CUDA SUPPLEMENT 2020
LICENSE_TYPE_CUDA_SUPPLEMENT_2020 = "LicenseRef-scancode-nvidia-cuda-supplement-2020"

LICENSE_data = " AND ".join((LICENSE_TYPE_MIT,
LICENSE_TYPE_ZERO_BSD,
LICENSE_TYPE_BSD_2_CLAUSE,
LICENSE_TYPE_BSD_3_CLAUSE,
LICENSE_TYPE_PYTHON_20,
LICENSE_TYPE_CUDA_SUPPLEMENT_2020,
))

metadata = dict(
name='numba',
description="compiling Python code using LLVM",
version=versioneer.get_version(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
Expand Down Expand Up @@ -426,7 +449,8 @@ def check_file_at_path(path2file):
setup_requires=build_requires,
install_requires=install_requires,
python_requires=">={}".format(min_python_version),
license="BSD",
license_expression=LICENSE_data,
license_files=['LICENSE', 'LICENSES.thirdparty'],
cmdclass=cmdclass,
)

Expand Down
Loading