-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (26 loc) · 867 Bytes
/
Copy pathsetup.py
File metadata and controls
30 lines (26 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from setuptools import setup, find_packages
import patchyAnalysisTools
import sys
from pybind11 import get_cmake_dir
from pybind11.setup_helpers import Pybind11Extension, build_ext
import os
cxx_std = int(os.environ.get("CMAKE_CXX_STANDARD", "14"))
ext_modules = [
Pybind11Extension("RDF",
["src/RDF.cpp"],cxx_std=cxx_std),
Pybind11Extension("sq",
["src/sq.cpp"],cxx_std=cxx_std),
]
setup(
name='patchyAnalysisTools',
version=patchyAnalysisTools.__version__,
description='simple tools to analyze output of patchy particle MC sims',
url='https://github.com/sodiumnitrate/patchyAnalysisTools.git',
author='Irem Altan',
author_email='irem.altan@yale.edu',
license='',
packages=find_packages(),
install_requires=['numpy','pybind11','matplotlib','networkx'],
python_requires='>=3.6',
ext_modules=ext_modules
)