-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
41 lines (34 loc) · 1.19 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import fnmatch
from setuptools import setup, find_packages
# Path to the directory that contains this setup.py file.
base_dir = os.path.abspath(os.path.dirname(__file__))
def find_files(directory):
matches = []
for root, dirnames, filenames in os.walk(directory):
for filename in fnmatch.filter(filenames, "*"):
matches.append(os.path.join(root, filename))
return matches
setup(
name="molscrub",
author="Forli Lab",
version="0.1.1",
author_email="[email protected]",
url="https://github.com/forlilab/molscrub",
description="Enumerate states of small organic molecules: 3D coordinates, tautomers, pH-based adjustments",
long_description=open(os.path.join(base_dir, "README.md")).read(),
long_description_content_type="text/markdown",
packages=find_packages(),
scripts=[
"scripts/scrub.py",
],
package_data={"scrubber": ["data/*"]},
data_files=[("", ["README.md", "LICENSE"]), ("scripts", find_files("scripts"))],
include_package_data=True,
zip_safe=False,
install_requires=["rdkit>=2022.03.1"],
python_requires=">=3.8",
license="GPL-v3",
)