-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
66 lines (55 loc) · 2.1 KB
/
setup.py
File metadata and controls
66 lines (55 loc) · 2.1 KB
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
57
58
59
60
61
62
63
64
65
"""
PepFun 2.0: improved protocols for the analysis of natural and modified peptides
From publication "PepFun 2.0: improved protocols for the analysis of natural and modified peptides"
Author: Rodrigo Ochoa
Year: 2023
"""
########################################################################################
# Authorship
########################################################################################
__author__ = "Rodrigo Ochoa"
__credits__ = ["Rodrigo Ochoa"]
__license__ = "MIT"
__version__ = "2.0"
__email__ = "rodrigo.ochoa@udea.edu.co, rodrigo.ochoa@boehringer-ingelheim.com"
########################################################################################
# Modules to import
########################################################################################
import setuptools
########################################################################################
# Main
########################################################################################
with open("README.md", "r") as f:
long_description = f.read()
setuptools.setup(
name='pepfun',
version='2.0',
url='',
license='MIT',
author='Rodrigo Ochoa',
author_email='rodrigo.ochoa@boehringer-ingelheim.com',
description='Tools for analysis with peptides',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=[
'numpy >= 1.22.2',
'pandas >= 1.4.1',
'requests >= 2.27.1',
'openpyxl >= 3.0.9',
'tqdm >= 4.62.3',
'biopython >= 1.79',
'igraph >= 0.9.10',
'sphinx-jsonschema'
],
include_package_data=True,
packages=['pepfun','pepfun.data'],
package_data={'pepfun': ['data/*']}
)
try:
import rdkit
except ModuleNotFoundError:
raise ValueError("No rdkit installation found! Make sure you install it first!\n"
"Try: 'conda install -c rdkit rdkit'.")
if rdkit.__version__ < '2019.09.04':
raise ValueError(f"rdkit version must be at least 2019.09.04, but is {rdkit.__version__}.\n"
"Please update first using 'conda update rdkit'")