Skip to content

Commit 27f4b17

Browse files
author
Nolan Woods
committed
Change to pbr
1 parent 0985a8a commit 27f4b17

4 files changed

Lines changed: 51 additions & 29 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,6 @@ dmypy.json
195195
.pyre/
196196

197197
.bash_history
198+
199+
/ChangeLog
200+
/AUTHORS

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
biopython>=1.73
2+
gffutils>=0.9
3+
jmespath>=0.9.4

setup.cfg

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[metadata]
2+
name = biopython.convert
3+
author = Nolan Woods
4+
author_email = nolan_w@sfu.ca
5+
summary = Interconvert various file formats supported by biopython. Supports querying records with JMESPath.
6+
description-file = README.rst
7+
description-content-type = text/x-rst; charset=UTF-8
8+
home-page = https://github.com/brinkmanlab/biopython-convert
9+
license = MIT Amended
10+
classifier =
11+
Environment :: Console
12+
Intended Audience :: Science/Research
13+
License :: OSI Approved :: MIT License
14+
Operating System :: POSIX
15+
Programming Language :: Python :: 3.7
16+
Topic :: Scientific/Engineering :: Bio-Informatics
17+
keywords =
18+
convert
19+
biopython
20+
bioinformatics
21+
gff
22+
genbank
23+
embl
24+
filter
25+
fasta
26+
fastq
27+
28+
[files]
29+
packages =
30+
biopython_convert
31+
[entry_points]
32+
console_scripts =
33+
biopython.convert = biopython_convert
34+
pbr.config.drivers =
35+
plain = pbr.cfg.driver:Plain
36+
[bdist_wheel]
37+
universal = 1
38+
39+
[options]
40+
test_suite = tests
41+

setup.py

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,7 @@
11
#!/usr/bin/env python
22
from setuptools import setup, find_packages
33

4-
import re
5-
with open('biopython_convert/__version.py') as version_file:
6-
__versionstr__ = '.'.join(re.search(r"__version__ = \[(\d+), (\d+), (\d+)\]", version_file.read(), re.M).group()[1:])
7-
8-
with open('README.rst') as readme:
9-
setup(
10-
name='biopython.convert',
11-
version=__versionstr__,
12-
python_requires='>=3.7',
13-
packages=find_packages(),
14-
long_description=readme.read(),
15-
install_requires=['biopython>=1.73', 'gffutils>=0.9', 'jmespath>=0.9.4'],
16-
scripts=['bin/biopython.convert'],
17-
url='https://github.com/brinkmanlab/biopython-convert',
18-
license='MIT Amended',
19-
author='Nolan Woods',
20-
author_email='nolan_w@sfu.ca',
21-
description='Interconvert various file formats supported by biopython. Supports querying records with JMESPath.',
22-
include_package_data=True,
23-
test_suite="tests",
24-
classifiers=[
25-
"Environment :: Console",
26-
"Intended Audience :: Science/Research",
27-
"License :: OSI Approved :: MIT License",
28-
"Operating System :: POSIX",
29-
"Programming Language :: Python :: 3.7",
30-
"Topic :: Scientific/Engineering :: Bio-Informatics",
31-
]
32-
)
4+
setup(
5+
setup_requires=['pbr'],
6+
pbr=True,
7+
)

0 commit comments

Comments
 (0)