|
| 1 | +#!/usr/bin/env python |
| 2 | + |
| 3 | +"""The setup script.""" |
| 4 | + |
| 5 | +from setuptools import setup, find_packages |
| 6 | + |
| 7 | +with open('README.md') as readme_file: |
| 8 | + readme = readme_file.read() |
| 9 | + |
| 10 | +with open('docs/HISTORY.md') as history_file: |
| 11 | + history = history_file.read() |
| 12 | + |
| 13 | +requirements = [ |
| 14 | + 'pandas>=1.0.3', |
| 15 | + 'numba>=0.46.0', |
| 16 | + 'numpy>=1.17.4', |
| 17 | + 'scipy>=1.3.2', |
| 18 | + 'pynwb', |
| 19 | + 'tabulate', |
| 20 | + 'pyqt5', |
| 21 | + 'pyqtgraph', |
| 22 | + 'h5py', |
| 23 | + 'tifffile', |
| 24 | + 'zarr' |
| 25 | + ] |
| 26 | + |
| 27 | +test_requirements = [ |
| 28 | + 'pytest', |
| 29 | + 'isort', |
| 30 | + 'pip-tools', |
| 31 | + 'pytest', |
| 32 | + 'flake8', |
| 33 | + 'coverage' |
| 34 | + ] |
| 35 | + |
| 36 | +setup( |
| 37 | + author="Guillaume Viejo", |
| 38 | + |
| 39 | + python_requires='>=3.8', |
| 40 | + classifiers=[ |
| 41 | + 'Development Status :: 3 - Alpha', |
| 42 | + 'Intended Audience :: Science/Research', |
| 43 | + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', |
| 44 | + 'Natural Language :: English', |
| 45 | + 'Programming Language :: Python :: 3', |
| 46 | + 'Programming Language :: Python :: 3.8', |
| 47 | + 'Programming Language :: Python :: 3.9', |
| 48 | + 'Programming Language :: Python :: 3.10', |
| 49 | + ], |
| 50 | + description="PYthon Neural Analysis Package Pour Laboratoires d’Excellence", |
| 51 | + install_requires=requirements, |
| 52 | + license="GNU General Public License v3", |
| 53 | + # long_description='pynapple is a Python library for analysing neurophysiological data. It allows to handle time series and epochs but also to use generic functions for neuroscience such as tuning curves and cross-correlogram of spikes. It is heavily based on neuroseries.' |
| 54 | + # + '\n\n' + history, |
| 55 | + long_description=readme, |
| 56 | + include_package_data=True, |
| 57 | + keywords='neuroscience', |
| 58 | + name='pynapple', |
| 59 | + packages=find_packages(include=['pynapple', 'pynapple.*']), |
| 60 | + test_suite='tests', |
| 61 | + tests_require=test_requirements, |
| 62 | + url='https://github.com/PeyracheLab/pynapple', |
| 63 | + version='v0.3.1', |
| 64 | + zip_safe=False, |
| 65 | + long_description_content_type='text/markdown', |
| 66 | + download_url='https://github.com/PeyracheLab/pynapple/archive/refs/tags/v0.3.1.tar.gz' |
| 67 | +) |
0 commit comments