Skip to content

Commit

Permalink
update requires for python 3.7-3.12, drop support for python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Nguyen Pham committed Aug 1, 2024
1 parent 7544f82 commit 5c56ab4
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 56 deletions.
Binary file not shown.
26 changes: 18 additions & 8 deletions python/neuromeka.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: neuromeka
Version: 3.2.0.8
Version: 3.2.0.9
Summary: Neuromeka client protocols for IndyDCP3, IndyEye, Moby, Ecat, and Motor
Home-page: https://github.com/neuromeka-robotics/neuromeka-package
Author: Neuromeka
Expand All @@ -9,20 +9,19 @@ Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.6
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: grpcio<=1.59.0,>=1.39.0
Requires-Dist: grpcio-tools<=1.59.0,>=1.39.0
Requires-Dist: protobuf<=4.25.4,>=3.17.3
Requires-Dist: requests==2.32.0
Requires-Dist: urllib3==2.2.2
Requires-Dist: grpcio==1.59.0
Requires-Dist: grpcio-tools==1.59.0
Requires-Dist: protobuf<=4.25.4,>=4.24.4
Requires-Dist: requests<=2.32.0,>=2.31.0
Requires-Dist: urllib3<=2.2.2,>=2.0.7
Requires-Dist: Pillow==9.5.0
Requires-Dist: numpy<=1.26.4,>=1.21.6
Requires-Dist: pyModbusTCP==0.2.1
Expand All @@ -45,6 +44,17 @@ This package provides client protocols for users to interact with Neuromeka's ro
### Python
You can install the package from PyPI:

Install dependencies if missing:
```bash
sudo apt-get install libjpeg-dev zlib1g-dev
```

On python < 3.12:
```bash
sudo apt install -y python-distutils
```

Install Neuromeka package
```bash
pip install neuromeka
```
Expand Down
10 changes: 5 additions & 5 deletions python/neuromeka.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
grpcio<=1.59.0,>=1.39.0
grpcio-tools<=1.59.0,>=1.39.0
protobuf<=4.25.4,>=3.17.3
requests==2.32.0
urllib3==2.2.2
grpcio==1.59.0
grpcio-tools==1.59.0
protobuf<=4.25.4,>=4.24.4
requests<=2.32.0,>=2.31.0
urllib3<=2.2.2,>=2.0.7
Pillow==9.5.0
numpy<=1.26.4,>=1.21.6
pyModbusTCP==0.2.1
Expand Down
75 changes: 32 additions & 43 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,42 @@
with open("../README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

if sys.version_info <= (3, 10):
install_requires = [
"grpcio>=1.39.0, <=1.43.0",
"grpcio-tools>=1.39.0, <=1.43.0",
"protobuf>=3.17.3, <=3.20.3",
"requests==2.22.0",
"Pillow==9.5.0",
"numpy==1.21.6",
"pyModbusTCP==0.2.1",
"netifaces",
]
if sys.version_info < (3, 12):
print("Please build with python 3.12")
else:
install_requires = [
"grpcio>=1.39.0, <=1.59.0",
"grpcio-tools>=1.39.0, <=1.59.0",
"protobuf>=3.17.3, <=4.25.4",
"requests==2.32.0",
"urllib3==2.2.2",
"grpcio==1.59.0",
"grpcio-tools==1.59.0",
"protobuf>=4.24.4, <=4.25.4",
"requests>=2.31.0, <=2.32.0",
"urllib3>=2.0.7, <=2.2.2",
"Pillow==9.5.0",
"numpy>=1.21.6, <=1.26.4",
"pyModbusTCP==0.2.1",
"netifaces2",
]

setup(
name="neuromeka",
version="3.2.0.8",
author="Neuromeka",
author_email="technical-suuport@neuromeka.com",
description="Neuromeka client protocols for IndyDCP3, IndyEye, Moby, Ecat, and Motor",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/neuromeka-robotics/neuromeka-package",
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
],
python_requires=">=3.6",
install_requires=install_requires,
)
setup(
name="neuromeka",
version="3.2.0.9",
author="Neuromeka",
author_email="technical-suuport@neuromeka.com",
description="Neuromeka client protocols for IndyDCP3, IndyEye, Moby, Ecat, and Motor",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/neuromeka-robotics/neuromeka-package",
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
],
python_requires=">=3.7",
install_requires=install_requires,
)

0 comments on commit 5c56ab4

Please sign in to comment.