-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (51 loc) · 1.64 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
46
47
48
49
50
51
52
53
54
55
56
import os
try:
from numpy.distutils.core import Extension, setup
except ImportError:
raise ImportError("NumPy is not installed. Please install NumPy manually before.")
# get text of README.md
current_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(current_path, "README.md")) as f:
readme_text = f.read()
setup(
name="rmsd-clustering",
version="0.1.0",
description="Clustering based on RMSD",
long_description=readme_text,
long_description_content_type="text/markdown",
url="https://github.com/boneta/RMSD-Clustering",
author="Sergio Boneta",
author_email="boneta@unizar.es",
license="GPLv3",
python_requires='>=3.8',
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics"
],
setup_requires=["numpy"],
install_requires=[
"numpy",
"scipy",
"ase",
"rmsd",
"matplotlib",
"seaborn"
],
ext_modules=[
Extension(
name="rmsd_clustering.rmsd_fort",
sources=["rmsd_clustering/rmsd_fort.f90"],
extra_f90_compile_args=["-O3", "-fopenmp"],
extra_link_args=["-lgomp", "-lblas", "-llapack"]
)
],
packages=["rmsd_clustering"],
include_package_data=False,
entry_points={
"console_scripts": ["rmsd_clustering=rmsd_clustering.__main__:main"]
}
)