-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (35 loc) · 1.32 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
from setuptools import setup, find_packages
import codecs
import os
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()
VERSION = '0.0.8'
DESCRIPTION = 'A parser of the Kurdish wiktionary (Wikiferheng)'
LONG_DESCRIPTION = 'A module that parse the Kurdish wiktionary with some useful and easy-to-use functions'
# Setting up
setup(
name="kwiki",
version=VERSION,
author="Jagar Yousef",
author_email="<jagar.yousef@gmail.com>",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
package_data={find_packages()[0]: ['data/wikiferheng.json']},
include_package_data=True,
setup_requires=['wheel'],
url='https://github.com/kurd-cc/kwiki',
keywords=['kurdish', 'language', 'language-processing', 'kurmanji', 'wiktionary', 'parser'],
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
)
# 1. python setup.py sdist bdist_wheel
# 2. twine upload --skip-existing dist/*