-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
50 lines (45 loc) · 1.77 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
from setuptools import setup
# get long description that is used within the README file of this project
# (available on the GitHub platform) for display within PyPi platform
with open("README.rst", "r") as fh:
long_description = fh.read()
# for obtaining current version information directly from the source code, the
# local freeplane code file is to be consulted, prior to its installation on
# the local system. as it seems that at this point of the operation no LXML
# package is available (although it had previously been installed), its import
# statement within freeplane.py must be held in try / except clause.
import src.freeplane as freeplane
# do the settings for PyPi
setup(
name='freeplane-io',
#version="0.7.2",
version=freeplane.__version__,
py_modules=['freeplane'],
author='nnako',
author_email='[email protected]',
url="https://github.com/nnako/freeplane-python-io",
description='provide create, read, update and delete of freeplane nodes via file access',
package_dir={"": "src"},
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[
"html2text ~= 2020.1.16",
"lxml",
],
classifiers=[
"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",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: OS Independent",
],
extras_require={
"doc": [
"sphinx~=5.2.3",
],
},
)