forked from ssnam92/KSPies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (40 loc) · 1.32 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
40
41
42
43
44
45
import setuptools
from numpy.distutils.core import setup, Extension
print(setuptools.find_packages())
lib = Extension(
name='kspies.kspies_fort',
sources=['kspies/kspies_fort.f90'],
library_dirs=['/usr/lib/'],
include_dirs=['/usr/include'],
libraries=['lapack']
)
data_files = [
('fortran_source', ['kspies/kspies_fort.f90', 'kspies/compile.sh'])
]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="kspies", # Replace with your own username
version="1.0.3",
author="Seungsoo Nam, Ryan J. McCarty, Hansol Park, Eunji Sim",
author_email="[email protected]",
description="This is a python based Kohn-Sham Inversion Evaluation Software package for use with pySCF.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://ssnam92.github.io/KSPies/",
packages=setuptools.find_packages(),
data_files=data_files,
ext_modules = [lib],
install_requires=[
"numpy>=1.18.4",
"scipy>=1.4.1",
"opt_einsum>=3.2.0"
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: Unix",
"Development Status :: 4 - Beta",
],
python_requires='>=3.6',
)