-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (26 loc) · 992 Bytes
/
Copy pathsetup.py
File metadata and controls
32 lines (26 loc) · 992 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
from setuptools import setup, find_packages
import os
# def _package_tree(pkgroot):
# path = os.path.dirname(__file__)
# subdirs = [os.path.relpath(i[0], path).replace(os.path.sep, '.')
# for i in os.walk(os.path.join(path, pkgroot))
# if 'initparams.py' in i[2]]
# return subdirs
curdir = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(curdir, 'README.md')) as f:
readme = f.read()
with open('requirements.txt') as f:
require = [x.strip() for x in f.readlines() if not x.startswith('git+')]
setup(
name='cb_recordings',
version='1.0',
license="GPL-2.0 License",
long_description=readme,
description='A module to load whisking and Neuropixels data.',
author='Marie Tolkiehn',
author_email='marie+git@kent.nu',
packages=find_packages(exclude=('tests',)),
# packages=_package_tree('neuropix'),
install_requires=require, # external packages as dependencies
include_package_data=True
)