-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (48 loc) · 1.64 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
""" This is the setup.py script for setting up the package and fulfilling any
necessary requirements.
References:
https://github.com/pypa/sampleproject/blob/master/setup.py
https://github.com/biopython/biopython/blob/master/setup.py
http://python-packaging.readthedocs.io/en/latest/index.html
"""
# Modules Used
from setuptools import setup, find_packages
from codecs import open # To use a consistent encoding
from os import path
import os
import sys
# Set the home path of the setup script/package
__version__ = '0.1.0'
project_path = os.path.dirname(os.path.abspath(__file__))
project_name = os.path.basename(project_path)
project_url = 'https://github.com/' + project_name.lower()
def readme():
"""Get the long description from the README file."""
with open(path.join(project_path, 'README.rst'), encoding='utf-8') as f:
return f.read()
# Setup the package by adding information to these parameters
setup(
name=project_name,
author='Datasnakes',
author_email='[email protected]',
description="A collection of tools used by the Datasnakes.",
version=__version__,
long_description=readme(),
url=project_url,
license='MIT',
keywords='bioinformatics tools python3',
classifiers=[
'Development Status :: 3 - Alpha',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Framework :: Cookiecutter'
],
# Packages will be automatically found if not in this list.
packages=find_packages(exclude=['docs', 'tests']),
include_package_data=True,
entry_points={
},
zip_safe=False,
test_suite='nose.collector',
tests_require=['nose']
)