/ setup.py
setup.py
 1  import pathlib
 2  from setuptools import setup
 3  import sys
 4  
 5  # The directory containing this file
 6  HERE = pathlib.Path(__file__).parent
 7  
 8  # The text of the README file
 9  README = (HERE / "README.md").read_text()
10  
11  # The version in the version file
12  __version__ = (HERE / "tea2adt_source/version").read_text()
13  
14  # This call to setup() does all the work
15  setup(
16      name="tea2adt",
17      version=__version__,
18      description = "Encrypted audio tunnel for secure chat, file transfer and remote shell on Linux.",
19      long_description=README,
20      long_description_content_type="text/markdown",
21      url="https://github.com/ClarkFieseln/tea2adt",
22      author="Clark Fieseln",
23      author_email="",
24      license="MIT",
25      classifiers=[
26          "License :: OSI Approved :: MIT License",
27          "Programming Language :: Python :: 3.6",
28          "Programming Language :: Python :: 3.7",
29          "Programming Language :: Python :: 3.8",
30          "Programming Language :: Python :: 3.9",
31          "Development Status :: 5 - Production/Stable",
32          "Environment :: Console",
33          "Intended Audience :: End Users/Desktop",
34          "Intended Audience :: Developers",
35          "Operating System :: POSIX :: Linux",
36          "Topic :: Security",
37      ],
38      packages=["tea2adt_source"],
39      package_data={
40          '.': ['tea2adt_source/tea2adt'],
41      },
42      data_files=[
43          ('.', ['README.md']),
44          ('tea2adt', ['tea2adt_source/tea2adt']),
45          ('tea2adt', ['tea2adt_source/killtea2adt.sh', 'tea2adt_source/mmack.sh', 'tea2adt_source/mmdata.sh', 'tea2adt_source/mmrxnopwd.sh', 'tea2adt_source/mmsessionout.sh', 'tea2adt_source/mmtx.sh', 'tea2adt_source/mmtxfile.sh', 'tea2adt_source/install_dependencies.sh', 'tea2adt_source/mute_mic.sh', 'tea2adt_source/unmute_mic.sh', 'tea2adt_source/restore_audio_settings.sh', 'tea2adt_source/version', 'tea2adt_source/stt.sh', 'tea2adt_source/tts.sh', 'tea2adt_source/set_interfaces.sh']),
46          ('tea2adt', ['tea2adt_source/gpg.src', 'tea2adt_source/gpgappend.src', 'tea2adt_source/rx.src', 'tea2adt_source/tx.src']),
47          ('tea2adt', ['tea2adt_source/tea2adt.png']),
48          ('tea2adt/cfg', ['tea2adt_source/cfg/armor', 'tea2adt_source/cfg/baud', 'tea2adt_source/cfg/cipher_algo', 'tea2adt_source/cfg/confidence', 'tea2adt_source/cfg/end_msg', 'tea2adt_source/cfg/keepalive_time_sec', 'tea2adt_source/cfg/limit', 'tea2adt_source/cfg/logging_level', 'tea2adt_source/cfg/log_to_file', 'tea2adt_source/cfg/max_retransmissions', 'tea2adt_source/cfg/retransmission_timeout_sec', 'tea2adt_source/cfg/need_ack', 'tea2adt_source/cfg/preamble', 'tea2adt_source/cfg/probe_msg', 'tea2adt_source/cfg/probe_sleep', 'tea2adt_source/cfg/redundant_transmissions', 'tea2adt_source/cfg/send_delay_sec', 'tea2adt_source/cfg/show_rx_prompt', 'tea2adt_source/cfg/show_tx_prompt', 'tea2adt_source/cfg/split_tx_lines', 'tea2adt_source/cfg/start_msg', 'tea2adt_source/cfg/syncbyte', 'tea2adt_source/cfg/terminal', 'tea2adt_source/cfg/timeout_poll_sec', 'tea2adt_source/cfg/tmp_path', 'tea2adt_source/cfg/trailer', 'tea2adt_source/cfg/verbose', 'tea2adt_source/cfg/volume_microphone', 'tea2adt_source/cfg/volume_speaker_left', 'tea2adt_source/cfg/volume_speaker_right', 'tea2adt_source/cfg/install_dependencies', 'tea2adt_source/cfg/half_duplex', 'tea2adt_source/cfg/interface_index_stt_in', 'tea2adt_source/cfg/interface_index_tts_out', 'tea2adt_source/cfg/interface_index_minimodem_in', 'tea2adt_source/cfg/interface_index_minimodem_out', 'tea2adt_source/cfg/speech_to_text', 'tea2adt_source/cfg/text_to_speech', 'tea2adt_source/cfg/volume_stt_in', 'tea2adt_source/cfg/volume_tts_out', 'tea2adt_source/cfg/llm_cmd']),
49          ('tea2adt_source/out', ['tea2adt_source/out/dummy']),
50          ('tea2adt_source/rx_files', ['tea2adt_source/rx_files/dummy']),
51          ('tea2adt_source/state', ['tea2adt_source/state/rx_receiving_file', 'tea2adt_source/state/seq_rx', 'tea2adt_source/state/seq_tx', 'tea2adt_source/state/seq_tx_acked', 'tea2adt_source/state/session_established', 'tea2adt_source/state/transmitter_started', 'tea2adt_source/state/tx_sending_file', 'tea2adt_source/state/tts_out']),
52          ('tea2adt_source/tmp', ['tea2adt_source/tmp/dummy'])
53      ],    
54      include_package_data=True,
55      keywords=['chat','messenger','remote shell','remote control','reverse shell','file transfer','modem','audio','cryptography','encryption','security','cybersecurity','linux','gpg','minimodem','e2ee','data diode'],
56      entry_points={
57          "console_scripts": [
58              "tea2adt=tea2adt_source.tea2adt:main",
59          ]
60      },
61      project_urls={  # Optional
62      'Source': 'https://github.com/ClarkFieseln/tea2adt',
63      },
64  )