-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (42 loc) · 1.38 KB
/
setup.py
File metadata and controls
50 lines (42 loc) · 1.38 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
# encoding: utf-8
"""
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
import os
from setuptools import setup, find_packages
def get_long_description():
"""Return readme description"""
with open('README.md') as fp:
return fp.read()
def get_version():
"""Return the version of the package"""
with open(os.path.join('.', 'VERSION')) as fp:
return fp.read().strip()
setup(
name='yapyseq',
version=get_version(),
description='Yet Another Python Sequencer',
long_description=get_long_description(),
long_description_content_type='text/markdown',
author='Romain TAPREST',
author_email='romain@taprest.fr',
url='https://github.com/RomainTT/yapyseq',
packages=find_packages(),
package_data={'yapyseq': ['seq_schema.yaml']},
data_files=[('.', ['VERSION'])],
install_requires=['ruamel.yaml', 'yamale', 'click'],
tests_require=['pytest'],
license="MPL-2.0",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
],
entry_points='''
[console_scripts]
yapyseq=yapyseq.cli:yapyseq_main_cli
'''
)