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

Initial support for PEP 621 #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
19 changes: 19 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"


[project]
name="python-javabridge"
version="4.0.3"
readme = "README.rst"
requires-python = ">=3.8"
description="Python wrapper for the Java Native Interface"
classifiers=['Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Programming Language :: Java',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3'
]
dependencies = ['Cython>=0.29.16', 'numpy>=1.20.1' ]
license={text = "BSD 3-Clause License"}
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ def ext_modules():
if java_home is None:
raise Exception("JVM not found")
jdk_home = find_jdk()
from numpy import get_include
include_dirs = [get_include()] + get_jvm_include_dirs()
include_dirs = get_jvm_include_dirs()
libraries = None
library_dirs = None
javabridge_sources = ['_javabridge.c']
Expand Down