Skip to content

Commit

Permalink
Added more matrix functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Pencilcaseman committed Sep 2, 2020
1 parent 800a011 commit b2bf2a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Binary file added dist/libpymath-0.0.25.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion libpymath.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: libpymath
Version: 0.0.24
Version: 0.0.25
Summary: A general purpose Python math module
Home-page: https://www.github.com/pencilcaseman/gpc
Author: Toby Davis
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"""

from pathlib import Path
import platform

try:
from setuptools import setup, Extension, find_packages
Expand All @@ -33,7 +34,7 @@ def find_packages(where='.'):

this_directory = Path(__file__).parent
long_description = (this_directory / 'README.md').read_text(encoding='utf-8')
compiler_flags = ["-std=c99", "-O3", "-mavx", "-m64", "-fopenmp"]
compiler_flags = ["-std=c99", "-O3", "-mavx", "-fopenmp" if platform.system() in ("Linux", "Windows") else ""]

ext_modules = [
Extension(
Expand All @@ -50,7 +51,7 @@ def find_packages(where='.'):

setup(
name="libpymath",
version="0.0.24",
version="0.0.25",
description="A general purpose Python math module",
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit b2bf2a9

Please sign in to comment.