updating installer

master
Steve Nyemba 5 days ago
parent 0a1ba3e50a
commit 12a60c05e4

@ -0,0 +1,53 @@
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "smart-top" # Replace with meta.__app_name__
dynamic = ["version"]
description = "" # Add your project description here
authors = [
{name = "Your Name", email = "meta@the-phi.com"} # Replace with meta.__author__
]
license = {text = "MIT"} # Replace with meta.__license__
readme = "README.md" # Optional: add if you have a README
requires-python = ">=3.7"
keywords = [
"mongodb",
"couchdb",
"rabbitmq",
"file",
"read",
"write",
"s3",
"sqlite"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"typer",
"pandas",
"numpy",
"plugin-ix @ git+https://dev.the-phi.com/git/library/plugins"
]
[project.optional-dependencies]
transport = [
"data-transport @ git+https://github.com/lnyemba/data-transport.git"
]
[project.urls]
Homepage = "https://dev.the-phi.com/git/steve/smart-top.git"
Repository = "https://dev.the-phi.com/git/steve/smart-top.git"
[project.scripts]
smart-logger = "smart.logger:main" # Adjust the module path as needed
[tool.setuptools.packages.find]
include = ["meta", "smart", "smart.cmd", "smart.top", "smart.folder", "smart.logger", "smart.files"]
[tool.setuptools.dynamic]
version = {attr = "meta.__version__"}

@ -1,30 +0,0 @@
"""
"""
from setuptools import setup, find_packages
import os
import sys
import meta
# def read(fname):
# return open(os.path.join(os.path.dirname(__file__), fname)).read()
args = {
"name":meta.__app_name__,
"version":meta.__version__,
"author":meta.__author__,"author_email":"meta@the-phi.com",
"license":meta.__license__,
"packages":["meta","smart","smart.cmd","smart.top","smart.folder","smart.logger","smart.files"]
}
args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
args["install_requires"] = ['typer','pandas','numpy','data-transport@git+https://github.com/lnyemba/data-transport.git',"plugin-ix@git+https://dev.the-phi.com/git/library/plugins"]
args["url"] = "https://dev.the-phi.com/git/steve/smart-top.git"
args['scripts'] = ['bin/smart-logger']
# args['entry_point'] = {'console-scripts':['smart-top=smart-top:main']}
#
#@TODO:
# How to run this from the command line (and submit the data to [file,url,mongodb,couchdb,s3])
#
if sys.version_info[0] == 2 :
args['use_2to3'] = True
args['use_2to3_exclude_fixers']=['lib2to3.fixes.fix_import']
setup(**args)
Loading…
Cancel
Save