-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (49 loc) · 1.7 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
55
""" 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
# Set the home path of the setup script/package
__version__ = '0.0.1'
project_path = os.path.dirname(os.path.abspath(__file__))
project_name = os.path.basename(project_path)
project_url = 'https://github.com/sdhutchins/pyDAVID'
def readme():
"""Get the long description from the README file."""
with open(path.join(project_path, 'README.md'), encoding='utf-8') as f:
return f.read()
# Setup the package by adding information to these parameters
setup(
name=project_name,
author='Shaurita Hutchins',
author_email='sdhutchins@uab.edu',
description="A python wrapper around the DAVID api.",
version=__version__,
long_description=readme(),
url=project_url,
license='MIT',
keywords='DAVID',
classifiers=[
'Development Status :: 3 - Alpha',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
# 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='pytest',
python_requires = ">=3.7"
)