-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·53 lines (48 loc) · 1.56 KB
/
setup.py
File metadata and controls
executable file
·53 lines (48 loc) · 1.56 KB
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
#!/usr/bin/env python
# Setup module for Squeck
#
# September 2022
import os
import setuptools
# Pull in the essential run-time requirements
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements = fh.read().splitlines()
# Use the README.rst as the long description.
with open("README.rst", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="im-squeck",
version=os.environ.get("GITHUB_REF_SLUG", "1.0.0"),
author="Alan Christie",
author_email="achristie@informaticsmatters.com",
url="https://github.com/informaticsmatters/squonk2-deck",
license="MIT",
description="The IM Squonk2 Deck (Squeck)",
long_description=long_description,
keywords="configuration",
platforms=["any"],
# Our modules to package
package_dir={"": "src"},
packages=setuptools.find_packages(
where="src", exclude=["*.test", "*.test.*", "test.*", "test"]
),
include_package_data=True,
# Project classification:
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Topic :: System :: Installation/Setup",
"Operating System :: POSIX :: Linux",
],
install_requires=requirements,
entry_points={
"console_scripts": [
"squeck = squeck.squeck:main",
],
},
zip_safe=False,
)