-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathsetup.py
73 lines (67 loc) · 2.36 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env python3
import os
from setuptools import setup
import nvpy
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="nvpy",
version=nvpy.VERSION,
author="Charl P. Botha",
author_email="[email protected]",
maintainer='yuuki0xff',
maintainer_email='[email protected]',
description="A cross-platform simplenote-syncing note-taking app inspired by Notational Velocity.",
license="BSD",
keywords="simplenote note-taking tkinter nvalt markdown",
url="https://github.com/cpbotha/nvpy",
packages=['nvpy'],
long_description=read('README.rst'),
install_requires=[
# Those packages are not hard requirements of nvpy. If these packages are not installed,
# the Markdown/reStructuredText rendering feature will not work. But basic functions should work.
'Markdown',
'docutils',
# This is hard requirements of nvpy.
'simplenote>=2.1.4',
],
extras_require={
# development and test requirements.
'dev': [
'mock',
'yapf',
'pdoc3',
'mypy',
'coverage',
# mypy type definitions
'types-Markdown',
'types-certifi',
'types-docutils',
'types-mock',
],
},
entry_points={'gui_scripts': ['nvpy = nvpy.nvpy:main']},
# use MANIFEST.in file
# because package_data is ignored during sdist
include_package_data=True,
classifiers=[
# See https://pypi.org/classifiers/
"Development Status :: 5 - Production/Stable",
"Environment :: X11 Applications",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
)