Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pyproject.toml for release on PyPI #331

Merged
merged 5 commits into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ authors:
- family-names: "Frank"
given-names: "Loren"
title: "spyglass"
version: 0.3.0
date-released: 2020-12-18
url: "https://github.com/LorenFrankLab/spyglass"
version: 0.1.0
date-released: 2022-09-01
url: "https://github.com/LorenFrankLab/spyglass"
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
graft tests
global-exclude *.py[cod]
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ Step 1 below only applies if you are a member of Frank lab at UCSF. If you're no
export DJ_SUPPORT_FILEPATH_MANAGEMENT="TRUE"
```
Note that a local SPYGLASS_TEMP_DIR (e.g. one on your machine) will speed up spike sorting, but make sure it has enough free space (ideally at least 500GB)

If you also want to enable file sharing of franklab files through kachery-cloud, add the following
```bash
export KACHERY_CLOUD_DIR="/stelmo/nwb/.kachery-cloud"
export KACHERY_CLOUD_PROJECT=lqqrbobsev
```

Additional instructions for setting up sharing can be found in the main documentation (TODO)

3. Configure `DataJoint`. To connect to the database, you need to specify information such as the hostname and the port. You should also change your password from the temporary one you were given. Go to the config directory, and run [`dj_config.py`](https://github.com/LorenFrankLab/spyglass/blob/master/config/dj_config.py) in the terminal with your username:

Expand Down
6 changes: 0 additions & 6 deletions bin/spyglass

This file was deleted.

60 changes: 58 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,62 @@
[build-system]
requires = [
"setuptools>=42",
"setuptools>=61.0",
"wheel"
]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"

[project]
name = "spyglass"
version = "0.1.0"
authors = [
{ name="Loren Frank", email="loren.frank@ucsf.edu" },
{ name="Kyu Hyun Lee", email="kyuhyun.lee@ucsf.edu" },
{ name="Eric Denovellis", email="eric.denovellis@ucsf.edu" },
{ name="Ryan Ly", email="rly@lbl.gov" }
]
description = "Neuroscience data analysis framework for reproducible research"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords = ["neuroscience", "research", "electrophysiology", "reproducible", "data analysis",
"spike sorting", "spikeinterface","datajoint", "nwb", "kachery", "sortingview"]
dependencies = [
"jupyterlab>=3.*",
"pydotplus>=2.0.*",
"dask>=2.30",
"position_tools",
"track_linearization",
"replay_trajectory_classification",
"ripple_detection",
"trajectory_analysis_tools",
"matplotlib",
"seaborn",
"skan",
"bottleneck",
"ipympl",
"tqdm",
"pubnub<6.4.0",
"mountainsort4",
"pynwb>=2.0.0,<3",
"hdmf>=3.4.2",
"datajoint>=0.13.6",
"ghostipy",
"pymysql>=1.0.*",
"sortingview>=0.8",
"pyyaml",
"click",
"spikeinterface",
"ndx_franklab_novela>=0.1.0"
]

[project.scripts]
spyglass_cli = "spyglass.cli:cli"

[project.urls]
"Homepage" = "https://github.com/LorenFrankLab/spyglass"
"Bug Tracker" = "https://github.com/LorenFrankLab/spyglass/issues"
28 changes: 0 additions & 28 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,31 +1,3 @@
[metadata]
name = spyglass
version = 0.3.1
author = Loren Frank, Kyu Hyun Lee, Eric Denovellis, Ryan Ly
author_email = loren@phy.ucsf.edu
description = Neuroscience data pipeline for reproducible research by Loren Frank Lab, UCSF
long_description = file: README.md
long_description_content_type = text/markdown
license_files = LICENSE
url = https://github.com/LorenFrankLab/spyglass
project_urls =
Bug Tracker = https://github.com/LorenFrankLab/spyglass/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent

[options]
package_dir =
= src
packages = find:
python_requires = >=3.8
scripts =
bin/spyglass

[options.packages.find]
where = src

[flake8]
max-line-length = 120
max-complexity = 17
Expand Down