File: setup.py

package info (click to toggle)
nvpy 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,208 kB
  • sloc: python: 3,185; makefile: 26; sh: 11
file content (55 lines) | stat: -rw-r--r-- 1,901 bytes parent folder | download
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
#!/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="cpbotha@vxlabs.com",
    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=[
        # These are in reality 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.2',
    ],
    extras_require={
        # development and test requirements.
        'dev': ['mock', 'yapf'],
    },
    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",
        "Topic :: Utilities",
        "License :: OSI Approved :: BSD License",
    ],
)