-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
59 lines (53 loc) · 2.14 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import subprocess
import sys
import os
from os import path
from io import open
from setuptools import setup
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
'''
When bumping the version
1. Update version number in this file
2. Generate package tar file - python setup.py sdist
3. Publish the package - twine upload dist/*
4. Tag the commit with same version number and push the tag to github
'''
setup(name='pocket-tagger',
version='0.1.1',
description='Tag your pocket articles from getpocket.com automatically using NLP',
long_description=long_description,
long_description_content_type='text/markdown',
url='http://github.com/sanghviharshit/pocket-tagger',
author='Harshit Sanghvi',
author_email='[email protected]',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
license='MIT',
keywords='getpocket, pocket, api, articles, automatic, suggested, tag, natural language processing, nlp',
packages=['pocket_tagger'],
install_requires=['google.cloud', 'pocket', 'requests', 'bs4'],
project_urls={
'Bug Reports': 'https://github.com/sanghviharshit/pocket-tagger/issues',
'Say Thanks!': 'https://saythanks.io/to/sanghviharshit',
'Source': 'https://github.com/sanghviharshit/pocket-tagger',
},
)