-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
37 lines (28 loc) · 1.21 KB
/
setup.py
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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Check python version - it is not possible to specify which Python version to use in the setup.py file
import sys
if sys.version_info < (3,9):
sys.exit('Sorry, Python >= 3.9 is required')
from setuptools import setup, find_packages
# access the version wihtout importing the EMBLmyGFF3 package
with open('EMBLmyGFF3/version.py') as f: exec(f.read())
setup(
name='EMBLmyGFF3',
version=__version__,
description='An efficient way to convert gff3 annotation files into EMBL format ready to submit',
url='https://github.com/NBISweden/EMBLmyGFF3',
download_url='https://github.com/NBISweden/EMBLmyGFF3/archive/v' + __version__ +'.tar.gz',
author='Martin Norling, Niclas Jareborg, Jacques Dainat',
license='GPL-3.0',
packages=find_packages(),
install_requires=['biopython>=1.78', 'bcbio-gff>=0.6.4','numpy>=1.22'],
include_package_data=True,
entry_points={
'console_scripts': ['EMBLmyGFF3 = EMBLmyGFF3:main',
'EMBLmyGFF3-augustus-example = examples.augustus_example:main',
'EMBLmyGFF3-maker-example = examples.maker_example:main',
'EMBLmyGFF3-prokka-example = examples.prokka_example:main',
],
}
)