forked from zmeri/PC-SAFT
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
39 lines (35 loc) · 1.14 KB
/
setup.py
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
31
32
33
34
35
36
37
38
39
# -*- coding: utf-8 -*-
"""
Setup file for compiling to Cython module
@author: Zach Baird
"""
from setuptools import setup, Extension, find_packages
from Cython.Build import cythonize
import numpy as np
ext_modules = [
Extension("pcsaft",
sources=["pcsaft.pyx"],
language="c++")]
with open("docs/README.rst", "r") as fh:
long_description = fh.read()
setup(name='pcsaft',
version='1.2.0',
author="Zach Baird",
description="The PC-SAFT equation of state, including dipole, association and ion terms.",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/zmeri/PC-SAFT",
packages=find_packages(),
install_requires=[
'numpy',
'scipy',
'cython'
],
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: C++",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: POSIX :: Linux",
],
ext_modules=cythonize(ext_modules, language_level="3"))