Skip to content

Commit 2feca7a

Browse files
committed
✨ minimal install with some dependencies in indirect layout (src dir)
1 parent c4f4dc4 commit 2feca7a

File tree

9 files changed

+82
-53
lines changed

9 files changed

+82
-53
lines changed

pyproject.toml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
[project]
2+
authors = [{ name = "Alberto Santos Delgado", email = "[email protected]" },
3+
{ name = "Henry Webel", email = "[email protected]"}]
4+
name = "vuecore"
5+
version = "0.0.1"
6+
description = "A Python package for plotting related to multimodal molecular data. Works with acore."
7+
license = { text = "GNU General Public License v3" }
8+
readme = "README.md"
9+
requires-python = ">=3.9"
10+
classifiers = [
11+
"Development Status :: 2 - Pre-Alpha",
12+
"Intended Audience :: Developers",
13+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
14+
"Natural Language :: English",
15+
"Programming Language :: Python :: 3.9",
16+
"Programming Language :: Python :: 3.10",
17+
"Programming Language :: Python :: 3.11",
18+
]
19+
20+
dependencies = [
21+
"numpy",
22+
"pandas",
23+
# "dsp-pandas", # has only pandas related dependencies
24+
"scipy",
25+
"plotly",
26+
# "biopython",
27+
"beautifulsoup4",
28+
"requests",
29+
"dash", # from dash import html
30+
# "networkx",
31+
"matplotlib",
32+
# "cy-jupyterlab",
33+
# "nltk",
34+
# "webweb"
35+
# "acore",
36+
]
37+
38+
[project.optional-dependencies]
39+
docs = [
40+
"sphinx",
41+
"sphinx-book-theme",
42+
"myst-nb",
43+
"ipywidgets",
44+
"sphinx-new-tab-link!=0.2.2",
45+
"jupytext",
46+
]
47+
dev = [
48+
"black",
49+
"flake8",
50+
"ruff",
51+
"isort",
52+
"pytest",
53+
"pytest-cov",
54+
"twine",
55+
"wheel",
56+
"jupytext",
57+
"ipykernel",
58+
]
59+
60+
[project.urls]
61+
Homepage = "https://github.com/Multiomics-Analytics-Group/vuecore"
62+
Issues = "https://github.com/Multiomics-Analytics-Group/vuecore/issues"
63+
Documentation = "https://analytics-core.readthedocs.io/"
64+
65+
66+
[build-system]
67+
requires = ["setuptools"]
68+
build-backend = "setuptools.build_meta"

setup.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[flake8]
2+
exclude = docs
3+
max-line-length = 90
4+
aggressive = 2
5+
6+
[tool:pytest]
7+
addopts = --ignore=setup.py
8+
9+
[isort]
10+
profile=black

setup.py

Lines changed: 4 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,5 @@
1-
# builtin
2-
import setuptools
1+
from setuptools import setup
32

4-
def get_long_description():
5-
with open("README.md", "r") as readme_file:
6-
long_description = readme_file.read()
7-
return long_description
8-
9-
10-
def get_requirements():
11-
with open('requirements.txt') as f:
12-
required = f.read().splitlines()
13-
return required
14-
15-
16-
def create_pip_wheel():
17-
requirements = get_requirements()
18-
setuptools.setup(
19-
name="acore",
20-
version="0.1.0",
21-
license="MIT",
22-
description="An open-source Python package for Statistical Analysis of Omics datasets",
23-
long_description=get_long_description(),
24-
long_description_content_type="text/markdown",
25-
author="Multi-omics Network Analytics lab",
26-
author_email="[email protected]",
27-
url="",
28-
project_urls={
29-
"Multi-omics Network Analytics": "",
30-
"GitHub": "",
31-
"ReadTheDocs": "",
32-
"PyPi": "",
33-
"Scientific paper": "https://www.nature.com/articles/s41587-021-01145-6",
34-
},
35-
keywords=["statistics", "bioinformatics", "multi-omics",],
36-
classifiers=[
37-
"Intended Audience :: Science/Research",
38-
"License :: OSI Approved :: MIT License",
39-
"Operating System :: OS Independent",
40-
"Programming Language :: Python :: 3",
41-
"Topic :: Scientific :: Bioinformatics",
42-
],
43-
packages=[
44-
"acore",
45-
],
46-
include_package_data=True,
47-
entry_points={},
48-
install_requires=requirements,
49-
python_requires=">=3.9,<4",
50-
)
51-
52-
53-
if __name__ == "__main__":
54-
create_pip_wheel()
3+
setup(
4+
zip_safe=False,
5+
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)