-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
66 lines (58 loc) · 1.37 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
from setuptools import setup, find_packages
import pathlib, os, time
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / 'tools/pypi/README.md').read_text()
# Find directories that are modules and have __init__.py
directories = [d for d,n,f in os.walk('acmecse') if '__init__.py' in f]
print(directories)
setup(
# name='acmecse-dev',
# version=f'2024.dev.{time.strftime("%Y%m%d%H%M%S")}',
name='acmecse',
version='2024.10',
author='Andreas Kraft',
author_email='[email protected]',
classifiers=[
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.10',
],
description='An open source CSE Middleware for Education',
entry_points={
'console_scripts': [
'acmecse=acmecse.__main__:main',
]
},
include_package_data=True,
install_requires=[
'cachetools',
'coapthon3-acme-cse',
'cbor2',
'flask',
'flask-cors',
'InquirerPy',
'isodate',
'paho-mqtt>=2.0.0',
'plotext',
'psycopg2-binary',
'pyperclip',
#'python3-dtls',
'rdflib',
'requests',
'rich',
'shapely',
# 'textual',
'textual[syntax]',
'textual-plotext',
'tinydb',
'waitress',
'websockets',
],
license='BSD',
long_description=README,
long_description_content_type='text/markdown',
packages = directories,
#package_dir={'acmecse': 'acmecse'},
url='https://acmecse.net',
)