Skip to content

Commit

Permalink
updating package
Browse files Browse the repository at this point in the history
  • Loading branch information
john-friedman committed Dec 26, 2024
1 parent 1318815 commit f608ca8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
12 changes: 2 additions & 10 deletions datamule/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit f608ca8

Please sign in to comment.