-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (32 loc) · 1.14 KB
/
Copy pathsetup.py
File metadata and controls
34 lines (32 loc) · 1.14 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
from setuptools import setup, find_packages
from pathlib import Path
def read_requirements(path = "requirements.txt"):
p = Path(path)
if not p.exists(): return []
stripped_lines = (ln.strip() for ln in p.read_text().strip().splitlines())
return [ln for ln in stripped_lines if ln and not ln.startswith("#")]
setup(
name="molprisma",
version="1.0.1",
description="Tool for fast inspection of PDB molecular files inside the terminal",
keywords="pdb rcsb molecular terminal tui protein nucleic rna dna ligand",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="DiegoBarMor",
author_email="diegobarmor42@gmail.com",
url="https://github.com/diegobarmor/molprisma",
license="MIT",
packages=find_packages(),
install_requires=["prismatui==0.3.2"],
entry_points={
"console_scripts": [
"molprisma=molprisma.__main__:main",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.10",
)