-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathsetup.py
46 lines (42 loc) · 1.83 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
from distutils.core import setup
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(
name="halp",
packages=find_packages(),
version="1.0.0",
description = "Hypergraph Algorithms Package",
author = "Brendan Avent",
author_email = "[email protected]",
url = "http://tmmurali.github.io/halp/",
download_url = "https://github.com/tmmurali/halp/tarball/master",
keywords = ["halp", "hypergraph", "algorithms", "applications", "graph", "network", "directed hypergraph", "undirected hypergraph"],
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics"
],
license = "GNU GPLv3",
long_description="halp is a Python software package that provides both a directed and an undirected hypergraph implementation, as well as several important and canonical algorithms that operate on these hypergraphs.",
tests_require=["pytest"],
cmdclass={"test": PyTest}
)