-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
69 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,61 @@ | ||
[metadata] | ||
name = hetnetpy | ||
maintainer = Daniel Himmelstein | ||
maintainer_email = [email protected] | ||
license = CC0 1.0 | ||
license_file = LICENSE-CC0.md | ||
description = Hetnets in Python | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown; charset=UTF-8 | ||
url = https://github.com/hetio/hetnetpy | ||
classifiers = | ||
Intended Audience :: Science/Research | ||
Topic :: Scientific/Engineering :: Bio-Informatics | ||
Topic :: Scientific/Engineering :: Information Analysis | ||
License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | ||
Programming Language :: Python :: 3 :: Only | ||
keywords = | ||
hetnet | ||
graph | ||
heterogeneous | ||
network | ||
neo4j | ||
hetio | ||
hetnetpy | ||
dwpc | ||
rephetio | ||
|
||
[options] | ||
packages = find: | ||
python_requires = >=3.6 | ||
install_requires = | ||
regex | ||
|
||
[options.extras_require] | ||
test = | ||
neo4j | ||
numpy | ||
pandas | ||
py2neo | ||
pytest | ||
scipy | ||
tqdm | ||
stats = | ||
pandas | ||
matplotlib | ||
seaborn | ||
neo4j = | ||
pandas | ||
py2neo | ||
tqdm | ||
matrix = | ||
numpy | ||
scipy | ||
|
||
[options.packages.find] | ||
exclude = | ||
test | ||
|
||
[flake8] | ||
ignore = | ||
E203 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,4 @@ | ||
import pathlib | ||
|
||
import setuptools | ||
|
||
directory = pathlib.Path(__file__).parent.absolute() | ||
|
||
# long_description | ||
readme_path = directory.joinpath("README.md") | ||
with readme_path.open() as read_file: | ||
long_description = read_file.read() | ||
|
||
# Testing dependencies | ||
tests_require = [ | ||
"black ; python_version>='3.6'", | ||
"neo4j", | ||
"numpy", | ||
"pandas", | ||
"py2neo", | ||
"pytest", | ||
"scipy", | ||
"tqdm", | ||
] | ||
|
||
setuptools.setup( | ||
# Package details | ||
name="hetnetpy", | ||
url="https://github.com/hetio/hetnetpy", | ||
description="Hetnets in Python", | ||
long_description_content_type="text/markdown", | ||
long_description=long_description, | ||
license="CC0 1.0", | ||
# Author details | ||
author="Daniel Himmelstein", | ||
author_email="[email protected]", | ||
# Package topics | ||
keywords="hetnet graph heterogeneous network neo4j hetio hetnetpy", | ||
classifiers=[ | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering :: Bio-Informatics", | ||
"Topic :: Scientific/Engineering :: Information Analysis", | ||
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
], | ||
# should find hetnetpy (and hetio if symlink supported) | ||
packages=setuptools.find_packages(exclude=["test"]), | ||
# Specify python version | ||
python_requires=">=3.6", | ||
# Run-time dependencies | ||
install_requires=["regex"], | ||
# Testing dependencies | ||
tests_require=tests_require, | ||
# Additional groups of dependencies | ||
extras_require={ | ||
"stats": ["pandas", "matplotlib", "seaborn"], | ||
"neo4j": ["pandas", "py2neo", "tqdm"], | ||
"matrix": ["numpy", "scipy"], | ||
"test": tests_require, | ||
}, | ||
) | ||
if __name__ == "__main__": | ||
setuptools.setup() |