forked from haddocking/pdb-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4368bc
commit fb32d54
Showing
54 changed files
with
291 additions
and
1,629 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
[bumpversion] | ||
current_version = 2.5.1 | ||
commit = True | ||
message = [SKIP] version bump {current_version} -> {new_version} | ||
message = version bump {current_version} -> {new_version} | ||
tag = True | ||
|
||
[bumpversion:file:setup.py] | ||
[bumpversion:file:pyproject.toml] | ||
search = version = "{current_version}" | ||
replace = version = "{new_version}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ dist/ | |
*egg-info/ | ||
*__pycache__ | ||
*.pyc | ||
.coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[project] | ||
name = "zpdb-tools" | ||
readme = "README.md" | ||
description='A swiss army knife for PDB files.' | ||
requires-python = ">=3.7" | ||
version = "2.5.1" | ||
dynamic = ["scripts"] | ||
keywords = [ | ||
"zymvol", | ||
"bioinformatics", | ||
"proteins", | ||
"pdb", | ||
"structural-biology", | ||
] | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Programming Language :: Python :: 3.12', | ||
'Intended Audience :: Science/Research', | ||
'Topic :: Scientific/Engineering', | ||
'Topic :: Scientific/Engineering :: Chemistry', | ||
'Topic :: Scientific/Engineering :: Bio-Informatics', | ||
'License :: OSI Approved :: Apache Software License', | ||
] | ||
authors = [ | ||
{name = "João Rodrigues", email = "j.p.g.l.m.rodrigues@gmail.com" }, | ||
{name = "João M.C. Teixeira", email = "joaomcteixeira@gmail.com" }, | ||
{name = "Haddocking", email = "a.m.j.j.bonvin@uu.nl" }, | ||
] | ||
|
||
maintainers = [ | ||
{name = "João M.C. Teixeira", email = "jteixeira@zymvol.com" }, | ||
{name = "Zymvol Biomodeling"}, | ||
] | ||
|
||
[project.urls] | ||
Repository = "https://github.com/zymvol/zpdb-tools" | ||
Issues = "https://github.com/zymvol/zpdb-tools/issues" | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools >= 75", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
#[tool.setuptools.packages.find] | ||
#where = ["zpdbtools"] | ||
[tool.setuptools.package-dir] | ||
zpdbtools = "pdbtools" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,108 +1,15 @@ | ||
"""A setuptools based setup module. | ||
from pathlib import Path | ||
|
||
See: | ||
https://packaging.python.org/en/latest/distributing.html | ||
https://github.com/pypa/sampleproject | ||
""" | ||
from setuptools import setup | ||
|
||
# Always prefer setuptools over distutils | ||
from setuptools import setup, find_packages | ||
from os import listdir, path | ||
# io.open is needed for projects that support Python 2.7 | ||
# It ensures open() defaults to text mode with universal newlines, | ||
# and accepts an argument to specify the text encoding | ||
# Python 3 only projects can skip this import | ||
from io import open | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
# Get the long description from the README file | ||
with open(path.join(here, 'README.md'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
# Collect names of bin/*py scripts | ||
# e.g. 'pdb_intersect=bin.pdb_intersect:main', | ||
binfiles = listdir(path.join(here, 'pdbtools')) | ||
bin_py = [f[:-3] + '=pdbtools.' + f[:-3] + ':main' for f in binfiles | ||
if f.endswith('.py')] | ||
binfiles = Path(Path(__file__).parent, 'pdbtools').resolve().glob('*.py') | ||
bin_py = [ | ||
f.stem + '=zpdbtools.' + f.stem + ':main' | ||
for f in binfiles | ||
] | ||
|
||
setup( | ||
name='pdb-tools', # Required | ||
version='2.5.1', # Required | ||
description='A swiss army knife for PDB files.', # Optional | ||
long_description=long_description, # Optional | ||
long_description_content_type='text/markdown', # Optional (see note above) | ||
url='http://bonvinlab.org/pdb-tools', # Optional | ||
author='Joao Rodrigues', # Optional | ||
author_email='j.p.g.l.m.rodrigues@gmail.com', # Optional | ||
license='Apache Software License, version 2', | ||
classifiers=[ # Optional | ||
# How mature is this project? Common values are | ||
# 3 - Alpha | ||
# 4 - Beta | ||
# 5 - Production/Stable | ||
'Development Status :: 5 - Production/Stable', | ||
#'Development Status :: 4 - Beta', | ||
|
||
# Indicate who your project is intended for | ||
'Intended Audience :: Science/Research', | ||
'Topic :: Scientific/Engineering', | ||
'Topic :: Scientific/Engineering :: Chemistry', | ||
'Topic :: Scientific/Engineering :: Bio-Informatics', | ||
|
||
|
||
# Pick your license as you wish | ||
'License :: OSI Approved :: Apache Software License', | ||
|
||
# Specify the Python versions you support here. In particular, ensure | ||
# that you indicate whether you support Python 2, Python 3 or both. | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
], | ||
|
||
keywords='bioinformatics protein structural-biology pdb', # Optional | ||
|
||
# You can just specify package directories manually here if your project is | ||
# simple. Or you can use find_packages(). | ||
# | ||
# Alternatively, if you just want to distribute a single Python file, use | ||
# the `py_modules` argument instead as follows, which will expect a file | ||
# called `my_module.py` to exist: | ||
# | ||
# py_modules=["my_module"], | ||
# | ||
packages=find_packages(), # Required | ||
|
||
# To provide executable scripts, use entry points in preference to the | ||
# "scripts" keyword. Entry points provide cross-platform support and allow | ||
# `pip` to create the appropriate form of executable for the target | ||
# platform. | ||
# | ||
# For example, the following would provide a command called `sample` which | ||
# executes the function `main` from this package when invoked: | ||
entry_points={ # Optional | ||
entry_points={ | ||
'console_scripts': bin_py, | ||
}, | ||
|
||
# scripts=[path.join('bin', f) for f in listdir(path.join(here, 'bin'))], | ||
|
||
# List additional URLs that are relevant to your project as a dict. | ||
# | ||
# This field corresponds to the "Project-URL" metadata fields: | ||
# https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use | ||
# | ||
# Examples listed include a pattern for specifying where the package tracks | ||
# issues, where the source is hosted, where to say thanks to the package | ||
# maintainers, and where to support the project financially. The key is | ||
# what's used to render the link text on PyPI. | ||
project_urls={ # Optional | ||
'Bug Reports': 'https://github.com/haddocking/pdb-tools/issues', | ||
'Source': 'https://github.com/haddocking/pdb-tools', | ||
}, | ||
|
||
# Test Suite | ||
test_suite='tests.test_all', | ||
) | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.