-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (49 loc) · 1.41 KB
/
setup.py
File metadata and controls
56 lines (49 loc) · 1.41 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# -*- coding: utf8 -*-
# system imports:
import re
from codecs import open as open
from setuptools import setup
# package imports:
# 3rd party packages imports:
def get_version():
with open('nfq/tweemanager/version.py') as version_file:
return re.search(r"""__version__\s+=\s+(['"])(?P<version>.+?)\1""",
version_file.read()).group('version')
def readme():
''' Returns README.md contents as str '''
with open('README.md', encoding='utf-8') as f:
return f.read()
setup(
name='tweemanager',
description='Twitter repository manager monitor and processor',
long_description=readme(),
version=get_version(),
author="NFQ Solutions",
author_email="solutions@nfq.es",
packages=[
'nfq',
'nfq.tweemanager',
'nfq.tweemanager.getoldtweets',
],
zip_safe=False,
setup_requires=[
'nfq',
'pymongo',
'datetime',
'docopt',
'pyquery',
'simplejson',
'chardet',
'tweepy',
'elasticsearch',
'mongoengine'],
entry_points={'console_scripts': [
'tweemanager=nfq.tweemanager.tweemanager:tweemanager']},
classifiers=[
'Development Status :: Beta-rc',
'Intended Audience :: Developers, Administrators',
'Topic :: Text Processing :: General',
'License :: AGPL',
'Programming Language :: Python :: 3.5'
]
)