Skip to content

Commit 1edba27

Browse files
committed
replace pbr by setuptools setup.py
1 parent b788a13 commit 1edba27

File tree

4 files changed

+54
-24
lines changed

4 files changed

+54
-24
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ download:
3434

3535
## Getting started for development
3636

37-
Python dependency: >=3.8
37+
Python dependency: >=3.9
3838

3939
Setup a virtualenv for development and install it in editable mode
4040

requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.cfg

Lines changed: 0 additions & 17 deletions
This file was deleted.

setup.py

Lines changed: 53 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,55 @@
1-
from setuptools import setup
1+
from os import path
2+
from setuptools import setup, find_packages
3+
4+
import bakrep
5+
6+
# Get the long description from the README file
7+
setup_dir = path.abspath(path.dirname(__file__))
8+
with open(path.join(setup_dir, 'README.md'), encoding='utf-8') as f:
9+
long_description = f.read()
10+
211

312
setup(
4-
setup_requires=['pbr'],
5-
pbr=True
6-
)
13+
name='bakrep-cli',
14+
version=bakrep.__version__,
15+
description='BakRep CLI: a commandline tool for the batch download of BakRep datasets',
16+
keywords=['bioinformatics', 'annotation', 'bacteria', 'genomes', 'bakrep'],
17+
long_description=long_description,
18+
long_description_content_type='text/markdown',
19+
license='GPLv3',
20+
author='Lukas Jelonek',
21+
author_email='[email protected]',
22+
url='https://bakrep.computational.bio',
23+
packages=find_packages(include=['bakrep']),
24+
python_requires='>=3.9',
25+
include_package_data=False,
26+
zip_safe=False,
27+
install_requires=[
28+
'requests >= 2.32'
29+
],
30+
entry_points={
31+
'console_scripts': [
32+
'bakrep=bakrep.cli:entrypoint'
33+
]
34+
},
35+
classifiers=[
36+
'Operating System :: POSIX :: Linux',
37+
'Programming Language :: Python :: 3 :: Only',
38+
'Programming Language :: Python :: 3.9',
39+
'Programming Language :: Python :: 3.10',
40+
'Programming Language :: Python :: 3.11',
41+
'Programming Language :: Python :: 3.12',
42+
'Development Status :: 5 - Production/Stable',
43+
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
44+
'Topic :: Scientific/Engineering :: Bio-Informatics',
45+
'Environment :: Console',
46+
'Intended Audience :: Science/Research',
47+
'Natural Language :: English'
48+
],
49+
project_urls={
50+
'Documentation': 'https://github.com/ag-computational-bio/bakrep-cli',
51+
'Source': 'https://github.com/ag-computational-bio/bakrep-cli',
52+
'Bug Reports': 'https://github.com/ag-computational-bio/bakrep-cli/issues',
53+
'CI': 'https://github.com/ag-computational-bio/bakrep-cli/actions'
54+
},
55+
)

0 commit comments

Comments
 (0)