-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (40 loc) · 1.44 KB
/
setup.py
File metadata and controls
46 lines (40 loc) · 1.44 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
from setuptools import find_packages, setup
# Get the repository owner and name from the GitHub URL
github_url = 'https://github.com/seqasim/LFPAnalysis'
# Get long description
try:
with open("README.md", "r", encoding='utf-8') as fh:
__long_description__ = fh.read()
except FileNotFoundError:
__long_description__ = 'Package to process LFP data'
# Get requirements
try:
with open('requirements.txt', 'r', encoding='utf-8') as f:
required = [line.strip() for line in f.read().splitlines()
if line.strip() and not line.strip().startswith('#')]
except FileNotFoundError:
required = []
setup(
name='LFPAnalysis',
version='1.0.0',
description='Package to process LFP data',
long_description=__long_description__,
long_description_content_type='text/markdown',
url=github_url,
author='Salman Qasim',
author_email='', # Add email if desired
packages=find_packages(),
package_data={'LFPAnalysis': ['YBA_ROI_labelled.xlsx']},
include_package_data=True,
install_requires=required,
python_requires='>=3.8',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
)