mirror of
https://github.com/Xevion/specs.git
synced 2025-12-07 05:16:35 -06:00
added setup information, terminal entrypoint and basic logging
setup
This commit is contained in:
44
setup.py
44
setup.py
@@ -0,0 +1,44 @@
|
||||
import sys
|
||||
import os
|
||||
import io
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
DEPENDENCIES = [
|
||||
'click',
|
||||
'py-cpuinfo'
|
||||
]
|
||||
|
||||
EXCLUDE_FROM_PACKAGES = []
|
||||
CURDIR = sys.path[0]
|
||||
|
||||
with open(os.path.join(CURDIR, 'README.md')) as file:
|
||||
README = file.read()
|
||||
|
||||
setup(
|
||||
name="specs",
|
||||
version="1.0.0",
|
||||
author="Xevion",
|
||||
author_email="xevion@xevion.dev",
|
||||
description="",
|
||||
long_description=README,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/xevion/specs",
|
||||
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
|
||||
include_package_data=True,
|
||||
keywords=[],
|
||||
scripts=[],
|
||||
entry_points='''
|
||||
[console_scripts]
|
||||
specs=sepcs.cli:cli
|
||||
''',
|
||||
zip_safe=False,
|
||||
install_requires=DEPENDENCIES,
|
||||
python_requires=">=3.6",
|
||||
# license and classifier list:
|
||||
# https://pypi.org/pypi?%3Aaction=list_classifiers
|
||||
license="License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: OS Independent",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user