-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (27 loc) · 1.08 KB
/
setup.py
File metadata and controls
31 lines (27 loc) · 1.08 KB
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
from setuptools import setup
if __name__ == "__main__":
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
__version__ = "0.8.1"
base_url = "https://github.com/xialirong/prefpy"
setup(name="prefpy",
version=__version__,
description="Rank aggregation algorithms",
long_description=long_description,
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering"
],
url=base_url,
download_url="{0}/archive/v{1}.tar.gz".format(base_url, __version__),
author="Peter Piech",
license="GPL-3",
packages=["prefpy"],
zip_safe=False)