From f608ca82e64e16319b2ec3787f05d679033b448b Mon Sep 17 00:00:00 2001 From: John Date: Thu, 26 Dec 2024 12:16:31 -0800 Subject: [PATCH] updating package --- .github/workflows/build_wheels.yml | 8 +++++--- datamule/setup.py | 12 ++---------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 36de891f..abddbd8c 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12','3.13'] steps: - uses: actions/checkout@v4 @@ -25,7 +25,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install wheel setuptools cython twine + python -m pip install --upgrade setuptools wheel + python -m pip install cython --no-build-isolation + pip install twine - name: Build wheel working-directory: ./datamule @@ -57,7 +59,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install auditwheel wheel setuptools cython twine + python -m pip install auditwheel wheel setuptools cython twine - name: Download all wheels uses: actions/download-artifact@v3 diff --git a/datamule/setup.py b/datamule/setup.py index e9fc1e44..d5630d36 100644 --- a/datamule/setup.py +++ b/datamule/setup.py @@ -3,15 +3,7 @@ import platform import os from setuptools import find_namespace_packages # Add this import - - -# First, try to install Cython if it's not available -try: - from Cython.Build import cythonize -except ImportError: - from setuptools import dist - dist.Distribution().fetch_build_eggs(['Cython']) - from Cython.Build import cythonize +from Cython.Build import cythonize # Platform-specific settings @@ -63,7 +55,7 @@ setup( name="datamule", author="John Friedman", - version="0.421", + version="0.422", description="Making it easier to use SEC filings.", packages=find_namespace_packages(include=['datamule*']), url="https://github.com/john-friedman/datamule-python",