Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "JuPyMake"
version = "0.8"
description = "A simple interface to Polymake"
authors = [{name = "Sebastian Gutsche", email = "sebastian.gutsche@gmail.com"}]
urls = {Homepage = "https://github.com/sebasguts/JuPyMake"}
readme = "README.md"

[tool.setuptools]
license-files = ["COPYING", "GPLv2"]
11 changes: 3 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from distutils.core import setup, Extension
import setuptools
from setuptools import setup, Extension

import sys
import subprocess

Expand Down Expand Up @@ -32,16 +34,9 @@ def conditional_decode( string ):
os.environ["MACOSX_DEPLOYMENT_TARGET"] = version_arr[0]+'.'+version_arr[1]

setup(
name = 'JuPyMake',
version = '0.8',
description = 'A simple interface to Polymake',
author = 'Sebastian Gutsche',
author_email = 'sebastian.gutsche@gmail.com',
url = 'https://github.com/sebasguts/JuPyMake',
ext_modules= [ Extension( "JuPyMake",
[ "JuPyMake.cpp" ],
extra_compile_args=polymake_cflags,
extra_link_args=polymake_ldflags,
define_macros = macro_list ) ],
package_data = { '': [ "COPYING", "GPLv2" ] },
)