Skip to content

Commit

Permalink
feat(packaging): Moved all configuration from setup.py to setup.cfg. (#…
Browse files Browse the repository at this point in the history
…114)

* Added pyproject.toml

* Moved setup metadata to setup.cfg

* Replaced setup.py with stub
  • Loading branch information
alsmith151 authored Sep 7, 2021
1 parent dc58f3e commit 4835da4
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 54 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
55 changes: 55 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[metadata]
name = capcruncher
version = 0.1.1a0
author = asmith
author_email = [email protected]
description = An end-to-end solution for processing Capture-C Tri-C and Tiled-C data
long_description = file: README.md, LICENSE
long_description_content_type = text/markdown
license = GNU GENERAL PUBLIC LICENSE Version 3
license_file = LICENSE
url = https://github.com/sims-lab/CapCruncher.git
classifiers =
Development Status :: 2 - Pre-Alpha
Environment :: Console
Intended Audience :: Science/Research
Operating System :: POSIX :: Linux
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Topic :: Scientific/Engineering :: Bio-Informatics
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython


[options]
zip_safe = False
include_package_data = True
packages = find:
install_requires=
pandas>=1
pybedtools>=0.8.1
papermill>=2.1.1
plotly>=4.8.0
xopen>=0.7.3
pysam>=0.15.3
gevent
paramiko>=2.7.1
sqlalchemy>=1.3.18
cgatcore>=0.6.7
cooler
apsw
ruffus
drmaa
joblib
ipykernel
natsort
iced
click
ujson
xxhash

[options.entry_points]
console_scripts = capcruncher = capcruncher.cli:cli

[options.extras_require]
stats = diffxpy
plotting = coolbox
56 changes: 2 additions & 54 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,55 +1,3 @@
from setuptools import setup, find_packages
from setuptools import setup

setup(
name="capcruncher",
version="0.1.1a0",
author="Alastair Smith",
author_email="[email protected]",
packages=find_packages(),
entry_points={
"console_scripts": [
"capcruncher = capcruncher.cli:cli",
]
},
include_package_data=True,
url="https://github.com/sims-lab/CapCruncher.git",
license="LICENSE",
description="An end-to-end solution for processing Capture-C, Tri-C and Tiled-C data.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
python_requires=">=3.8",
install_requires=[
"pandas>=1",
"pybedtools>=0.8.1",
"papermill>=2.1.1",
"plotly>=4.8.0",
"xopen>=0.7.3",
"pysam>=0.15.3",
"gevent",
"paramiko>=2.7.1",
"sqlalchemy>=1.3.18",
"cgatcore>=0.6.7",
"cooler",
"apsw",
"ruffus",
"drmaa",
"joblib",
"ipykernel",
"natsort",
"iced",
"click",
"ujson",
"xxhash",
],
extras_require={"stats": ["diffxpy"], "plotting": ["coolbox",]},
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
],
)
setup()

0 comments on commit 4835da4

Please sign in to comment.