-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (36 loc) · 940 Bytes
/
setup.py
File metadata and controls
41 lines (36 loc) · 940 Bytes
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
# -*- coding: utf-8 -*-
"""
Created on Sat Aug 31 00:52:16 2019
@author: Jin Dou
"""
import setuptools
import re
with open("./README.md", "r", encoding='UTF-8') as fh:
long_description = fh.read()
with open("tour/__init__.py") as file:
for line in file.readlines():
m = re.match("__version__ *= *['\"](.*)['\"]", line)
if m:
version = m.group(1)
setuptools.setup(
name="pytour",
version=version,
author="Powerfulbean",
author_email="powerfulbean@gmail.com",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/powerfulbean/pytour",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"mne",
"numpy",
"scipy",
"matplotlib",
"h5py"
],
)