-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (23 loc) · 813 Bytes
/
setup.py
File metadata and controls
27 lines (23 loc) · 813 Bytes
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
import re
from setuptools import setup
with open('wordsmith/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Could not locate version information')
setup(
name = 'wordsmith',
version = version,
description = 'A wrapper around the Wordsmith API written in python',
author = 'John Hegele - Automated Insights',
packages = ['wordsmith'],
package_dir = {'wordsmith' : 'wordsmith'},
install_requires = ['requests', 'six'],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5'
]
)