Skip to content

Commit

Permalink
Update package specification
Browse files Browse the repository at this point in the history
  • Loading branch information
dufkan committed Aug 2, 2023
1 parent 65d0da5 commit 6e76adc
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 41 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*venv/
build/
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
data/
local/
build/
*venv/
.idea/
*.log
Expand All @@ -13,5 +14,5 @@ dissect/traits/sample_curves.py
dissect/traits/**/*.json
!dissect/traits/**/*_structure.json
dissect/traits/**/*.txt
DiSSECT.egg-info
*.egg-info
/dissect/results/
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM sagemath/sagemath:9.4
FROM sagemath/sagemath:9.8

# Setup sage and jupyter
RUN sage --pip3 install --no-cache-dir notebook
Expand All @@ -9,12 +9,11 @@ ARG NB_UID=1000
ENV USER ${NB_USER}
ENV HOME /home/sage
ENV TARGET "${HOME}/dissect"
COPY . ${TARGET}

USER root
RUN sed -i -re 's/([a-z]{2}.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
RUN apt-get update && apt-get install ca-certificates
RUN usermod -l ${NB_USER} sage
COPY . ${TARGET}
RUN chown -R ${NB_UID} ${TARGET}

# Install DiSSECT
Expand Down
35 changes: 35 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "dissect"
version = "0.3.0"
description = "Distinguisher of Standard & Simulated Elliptic Curves through Traits."
authors = [
{name = "Vladimír Sedláček", email = "[email protected]"},
{name = "Vojtěch Suchánek"},
{name = "Antonín Dufka"},
]
readme = "README.md"
license = {text = "MIT License"}
requires-python = ">=3.8"
dependencies = [
"pathlib==1.0.1",
"pymongo==4.4.1",
"pandas==2.0.3",
"scikit-learn==1.3.0",
"plotly==5.15.0",
]

[project.urls]
Homepage = "https://dissect.crocs.fi.muni.cz/"
Repository = "https://github.com/crocs-muni/DiSSECT.git"

[project.scripts]
dissect-database = "dissect.utils.database_handler:main"
dissect-compute-database = "dissect.traits.run:main"
dissect-compute-file = "dissect.traits.compute:main"
dissect-feature_builder = "dissect.analysis.feature_builder:main"
dissect-find_outliers = "dissect.analysis.find_outliers:main"
dissect-detail = "dissect.analysis.detail:main"
5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

32 changes: 0 additions & 32 deletions setup.py

This file was deleted.

0 comments on commit 6e76adc

Please sign in to comment.