|
a |
|
b/setup.py |
|
|
1 |
#!/usr/bin/env python |
|
|
2 |
# -*- coding: utf-8 -*- |
|
|
3 |
|
|
|
4 |
# Always prefer setuptools over distutils |
|
|
5 |
from setuptools import setup, find_packages |
|
|
6 |
from codecs import open |
|
|
7 |
from os import path |
|
|
8 |
import re |
|
|
9 |
|
|
|
10 |
here = path.abspath(path.dirname(__file__)) |
|
|
11 |
|
|
|
12 |
# Get the version string |
|
|
13 |
with open(path.join(here, 'DL_Models', '__init__.py'), encoding='utf-8') as f: |
|
|
14 |
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1) |
|
|
15 |
|
|
|
16 |
# Get the long description from the README file |
|
|
17 |
with open(path.join(here, 'README.md'), encoding='utf-8') as f: |
|
|
18 |
readme = f.read() |
|
|
19 |
|
|
|
20 |
setup( |
|
|
21 |
name='eeg-dl', |
|
|
22 |
version=version, |
|
|
23 |
description='A Deep Learning library for EEG Signals Classification', |
|
|
24 |
long_description=readme, |
|
|
25 |
long_description_content_type='text/markdown', |
|
|
26 |
|
|
|
27 |
# The project's main homepage. |
|
|
28 |
url='https://github.com/SuperBruceJia/EEG-DL', |
|
|
29 |
|
|
|
30 |
# Author details |
|
|
31 |
author='Shuyue Jia', |
|
|
32 |
author_email='shuyuej@ieee.org', |
|
|
33 |
|
|
|
34 |
# Choose your license |
|
|
35 |
license='MIT', |
|
|
36 |
|
|
|
37 |
classifiers=[ |
|
|
38 |
# How mature is this project? Common values are |
|
|
39 |
# 3 - Alpha |
|
|
40 |
# 4 - Beta |
|
|
41 |
# 5 - Production/Stable |
|
|
42 |
'Development Status :: 4 - Beta', |
|
|
43 |
|
|
|
44 |
# Indicate who your project is intended for |
|
|
45 |
'Intended Audience :: Developers', |
|
|
46 |
'Intended Audience :: Science/Research', |
|
|
47 |
'Topic :: Scientific/Engineering :: Artificial Intelligence', |
|
|
48 |
|
|
|
49 |
# Pick your license as you wish (should match "license" above) |
|
|
50 |
'License :: OSI Approved :: MIT License', |
|
|
51 |
|
|
|
52 |
# Specify the Python versions you support here. In particular, ensure |
|
|
53 |
# that you indicate whether you support Python 3 or both. |
|
|
54 |
'Programming Language :: Python :: 3.5', |
|
|
55 |
'Programming Language :: Python :: 3.6', |
|
|
56 |
], |
|
|
57 |
|
|
|
58 |
# What does your project relate to? |
|
|
59 |
keywords='eeg tensorflow deep learning', |
|
|
60 |
|
|
|
61 |
# You can just specify the packages manually here if your project is |
|
|
62 |
# simple. Or you can use find_packages(). |
|
|
63 |
packages=find_packages(exclude=['DL_Models', 'DL_Models.*']), |
|
|
64 |
|
|
|
65 |
# Alternatively, if you want to distribute just a my_module.py, uncomment |
|
|
66 |
# this: |
|
|
67 |
# py_modules=["my_module"], |
|
|
68 |
|
|
|
69 |
# List run-time dependencies here. These will be installed by pip when |
|
|
70 |
# your project is installed. For an analysis of "install_requires" vs pip's |
|
|
71 |
# requirements files see: |
|
|
72 |
# https://packaging.python.org/en/latest/requirements.html |
|
|
73 |
install_requires=['numpy>=1.14.0', |
|
|
74 |
'six', |
|
|
75 |
'pandas', |
|
|
76 |
'scipy', |
|
|
77 |
'matplotlib', |
|
|
78 |
'pandas', |
|
|
79 |
'sklearn'] |
|
|
80 |
) |