|
1 | 1 | import sys |
| 2 | +from types import SimpleNamespace |
| 3 | + |
2 | 4 | from setuptools import setup |
| 5 | +from setuptools.config import read_configuration |
3 | 6 |
|
4 | 7 | if sys.version_info[0] < 3: |
5 | 8 | sys.stdout.write('package requires python3') |
6 | 9 | sys.exit(1) |
7 | 10 |
|
8 | | -from ab12phylo_cmd.__init__ import __version__, __author__, __email__, __license__ |
| 11 | +pkg_meta = SimpleNamespace(**read_configuration('setup.cfg')['metadata']) |
9 | 12 |
|
10 | | -setup(name='ab12phylo', |
11 | | - version=__version__, |
12 | | - author=__author__, |
13 | | - author_email=__email__, |
14 | | - license=__license__, |
| 13 | +setup(name='ab12phylo-lkndl', |
| 14 | + version=pkg_meta.version, |
| 15 | + author=pkg_meta.author, |
| 16 | + author_email=pkg_meta.author_email, |
| 17 | + license=pkg_meta.license, |
15 | 18 | description='An integrated pipeline for maximum likelihood ' |
16 | 19 | 'phylogenetic tree inference from ABI sequencing data', |
17 | 20 | long_description=open('README.md', 'r').read(), |
|
31 | 34 | 'matplotlib', 'svgutils', 'pillow', 'requests'], |
32 | 35 | classifiers=['Development Status :: 4 - Beta', |
33 | 36 | 'Programming Language :: Python :: 3', |
34 | | - 'License :: OSI Approved :: MIT License', |
35 | | - 'Operating System :: Unix'], |
| 37 | + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', |
| 38 | + 'Operating System :: OS Independent'], |
36 | 39 | keywords=['bioinformatics', 'phylogenetics', 'population genetics'], |
37 | 40 | python_requires='>=3.6') |
0 commit comments