-
Notifications
You must be signed in to change notification settings - Fork 56
/
setup.py
executable file
·70 lines (60 loc) · 2.18 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
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""For installing AlgsSedgewickWayne package and accompanying scripts."""
from os.path import abspath
from os.path import dirname
from os.path import join
# from distutils.core import setup
from glob import glob
from setuptools import setup
__copyright__ = 'Copyright (C) 2019-present, DV Klopfenstein, PhD. All rights reserved'
__author__ = 'DV Klopfenstein, PhD'
NAME = 'AlgsSedgewickWayne'
PACKAGES = [
'AlgsSedgewickWayne',
'AlgsSedgewickWayne.testcode',
]
PACKAGE_DIRS = {
'AlgsSedgewickWayne': 'AlgsSedgewickWayne',
'AlgsSedgewickWayne.AlgsSedgewickWayne': 'AlgsSedgewickWayne.AlgsSedgewickWayne',
}
#PACKAGE_DIRS = {p:*p.split('.')) for p in PACKAGES}
def get_long_description():
"""Return the contents of the README.md as a string"""
dir_cur = abspath(dirname(__file__))
# python3
#with open(join(dir_cur, 'README.md'), encoding='utf-8') as ifstrm:
# python3 or python2
with open(join(dir_cur, 'README.md'), 'rb') as ifstrm:
return ifstrm.read().decode("UTF-8")
CONSOLE_SCRIPTS = [
#'icite=AlgsSedgewickWayne.scripts.icite:main',
]
setup(
name=NAME,
version='0.0.1',
author='DV Klopfenstein, PhD',
author_email='[email protected]',
packages=PACKAGES,
package_dir=PACKAGE_DIRS,
entry_points={
'console_scripts': CONSOLE_SCRIPTS,
},
# https://pypi.org/classifiers/
classifiers=[
'Programming Language :: Python',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Information Analysis',
],
url='http://github.com/dvklopfenstein/PrincetonAlgorithms',
description="Princeton Algorithms sandbox",
# https://packaging.python.org/guides/making-a-pypi-friendly-readme/
long_description=get_long_description(),
long_description_content_type='text/markdown',
#@ install_requires=['requests'],
)
# Copyright (C) 2019-present, DV Klopfenstein, PhD. All rights reserved