-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
38 lines (32 loc) · 1.09 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
import unittest
def my_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover("tests", pattern="test_*.py")
return test_suite
setuptools.setup(
name="pyrankvote",
version="2.0.6",
author="Jon Tingvold",
author_email="jon.tingvold@gmail.com",
description="PyRankVote is a python library for different ranked voting methods, "
"like instant-runoff voting, single transferable vote and preferential block voting, "
"created by Jon Tingvold.",
license="MIT",
url="https://github.com/jontingvold/pyrankvote",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
setup_requires=[],
install_requires=[
"tabulate",
],
packages=setuptools.find_packages(exclude=["tests", "test_data"]),
test_suite="setup.my_test_suite",
long_description=long_description,
long_description_content_type="text/markdown",
)