forked from OrganicIrradiation/ratebeer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·43 lines (39 loc) · 1.17 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
#!/usr/bin/env python
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def readfile(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
exec(readfile('ratebeer/_version.py'))
setup(
name="ratebeer",
version=__version__,
description="Python API for RateBeer.com",
long_description=readfile('README.rst'),
keywords="ratebeer rate beer ratings",
author="Andrew Lilja",
author_email="[email protected]",
url="https://github.com/alilja/ratebeer",
license="Unlicense (a.k.a. Public Domain)",
packages=["ratebeer"],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Internet',
'Topic :: Internet :: WWW/HTTP',
],
install_requires=[
"beautifulsoup4",
"lxml",
"requests[security]",
],
test_suite="test.py",
)