Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW] Add requirements for rmm #739

Merged
merged 9 commits into from
Mar 31, 2021
Merged
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 conda/environments/rmm_dev_cuda10.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- flake8=3.8.3
- black=19.10
- isort=5.0.7
- python>=3.6,<3.8
- python>=3.7,<3.9
- numba>=0.49
- numpy
- cffi>=1.10.0
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/rmm_dev_cuda10.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- flake8=3.8.3
- black=19.10
- isort=5.0.7
- python>=3.6,<3.8
- python>=3.7,<3.9
- numba>=0.49
- numpy
- cffi>=1.10.0
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/rmm_dev_cuda11.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- flake8=3.8.3
- black=19.10
- isort=5.0.7
- python>=3.6,<3.8
- python>=3.7,<3.9
- numba>=0.49
- numpy
- cffi>=1.10.0
Expand Down
14 changes: 14 additions & 0 deletions python/dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2021, NVIDIA CORPORATION.

clang==8.0.1
galipremsagar marked this conversation as resolved.
Show resolved Hide resolved
flake8==3.8.3
black==19.10b0
isort==5.0.7
cmake-format==0.6.11
numpy
numba>=0.49
pytest
pytest-xdist
cython>=0.29,<0.30
wheel
setuptools
10 changes: 10 additions & 0 deletions pyproject.toml → python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Copyright (c) 2021, NVIDIA CORPORATION.

[build-system]

requires = [
"wheel",
"setuptools",
"Cython>=0.29,<0.30",
]

[tool.black]
line-length = 79
target-version = ["py36"]
Expand Down
Empty file removed python/rmm/tests/__init__.py
Empty file.
11 changes: 10 additions & 1 deletion python/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Copyright (c) 2018, NVIDIA CORPORATION.
# Copyright (c) 2018-2021, NVIDIA CORPORATION.

# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
# resulting files.


[versioneer]
VCS = git
style = pep440
Expand Down Expand Up @@ -48,3 +49,11 @@ skip=
build
dist
__init__.py


[options]
packages = find:
install_requires =
numpy
numba>=0.49
python_requires = >=3.7,<3.9
5 changes: 3 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,12 @@ def get_cuda_version_from_header(cuda_include_dir):
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
# Include the separately-compiled shared library
setup_requires=["cython"],
setup_requires=["Cython>=0.29,<0.30"],
extras_requires={"test": ["pytest", "pytest-xdist"]},
ext_modules=extensions,
packages=find_packages(include=["rmm", "rmm.*"]),
package_data=dict.fromkeys(
Expand Down