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 59d3cdc commit 1318815
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions datamule/setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
from setuptools import setup, Extension
from Cython.Build import cythonize
from pathlib import Path
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


# Platform-specific settings
include_dirs = []
library_dirs = []
Expand Down Expand Up @@ -55,7 +63,7 @@
setup(
name="datamule",
author="John Friedman",
version="0.420",
version="0.421",
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 1318815

Please sign in to comment.