You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Title : dtnrm Author : Justas Balcas Email : justas.balcas (at) cern.ch @Copyright : Copyright (C) 2019 California Institute of Technology Date : 2019/05/26 """ from setuptools import setup from setupUtilities import list_packages, get_py_modules setup( name='DTNRM-Utilities', version="0.1", long_description="DTN-RM Utilities Installation", author="Justas Balcas", author_email="*****@*****.**", url="http://hep.caltech.edu", download_url="https://github.com/sdn-sense/dtnrm-utilities", keywords=['DTN-RM', 'system', 'monitor', 'SDN', 'end-to-end'], install_requires=['pyOpenSSL==0.13.1'], package_dir={'': 'src/python/'}, packages=['DTNRMLibs'] + list_packages(['src/python/DTNRMLibs/']), py_modules=get_py_modules(['src/python/DTNRMLibs']), )
from setupUtilities import getConfig, createDirs from setupUtilities import createAllDirsFromConfig CONFIG = None CONFIG_LOCATION = [] if os.path.isfile('/etc/dtnrm/main.conf'): CONFIG_LOCATION.append('/etc/dtnrm/main.conf') else: CONFIG_LOCATION.append('packaging/dtnrm-site-agent/dtnrmagent.conf') CONFIG = getConfig(CONFIG_LOCATION) MAINDIR = CONFIG.get('general', 'private_dir') createAllDirsFromConfig(CONFIG, MAINDIR) RAWCONFIGS = "%s/%s/" % (MAINDIR, "rawConfigs") createDirs(RAWCONFIGS) setup( name='DTNRMAgent-NetTester', version="0.1", long_description="DTN-RM Agent NetTester", author="Justas Balcas", author_email="*****@*****.**", url="http://hep.caltech.edu", download_url="https://github.com/sdn-sense/dtnrm-nettester-plugin", keywords=['DTN-RM', 'system', 'monitor', 'SDN', 'end-to-end'], package_dir={'': 'src/python/'}, packages=['DTNRMNetTester'] + list_packages(['src/python/DTNRMNetTester/']), data_files=[("/opt/sense-client", glob.glob("packaging/sense-client/*"))], py_modules=get_py_modules(['src/python/DTNRMNetTester']), )
CONFIG_LOCATION.append('/etc/dtnrm/main.conf') else: CONFIG_LOCATION.append('packaging/dtnrm-site-agent/main.conf') CONFIG = getConfig(CONFIG_LOCATION) MAINDIR = CONFIG.get('general', 'private_dir') createAllDirsFromConfig(CONFIG, MAINDIR) RAWCONFIGS = "%s/%s/" % (MAINDIR, "rawConfigs") createDirs(RAWCONFIGS) setup(name='DTNRMAgent', version="0.1", long_description="DTN-RM Agent installation", author="Justas Balcas", author_email="*****@*****.**", url="http://hep.caltech.edu", download_url="https://github.com/sdn-sense/dtnrm-agent", keywords=['DTN-RM', 'system', 'monitor', 'SDN', 'end-to-end'], package_dir={'': 'src/python/'}, packages=['DTNRMAgent'] + list_packages(['src/python/DTNRMAgent/']), install_requires=[ 'importlib==1.0.4', 'psutil==5.2.2', 'potsdb', 'ipaddress', 'pyroute2' ], data_files=[("%s/dtnrm/" % BASEPATH, CONFIG_LOCATION)], py_modules=get_py_modules(['src/python/DTNRMAgent']), scripts=[ "packaging/dtnrm-site-agent/dtnrmagent-update", "packaging/dtnrm-site-agent/dtnrm-ruler" ])
from distutils.core import setup from setupUtilities import get_py_modules print get_py_modules(['src/python/']) setup(name='fdtcplib', version='0.12', description='Fast Data Transfers daemon and third part copy tool', author='Justas Balcas', author_email='*****@*****.**', url='https://github.com/juztas/fdtcp', download_url='https://github.com/juztas/fdtcp/tarball/0.1', keywords=['FDT', 'fast', 'transfers', 'caltech', 'data'], packages=['fdtcplib'], package_dir={'': 'src/python'}, data_files=[('/etc/fdtcp/', ['conf/fdtcp.conf', 'conf/fdtd-system-conf.sh', 'conf/fdtd.conf'])], py_modules=get_py_modules(['src/python/']), scripts=["bin/fdtd.sh", "bin/wrapper_fdt.sh", "bin/wrapper_kill.sh", "src/python/fdtcp", "src/python/fdtd-log-analyzer", "bin/wrapper_auth.sh"])
version="%s" % VERSION, long_description="DTN-RM Site installation", author="Justas Balcas", author_email="*****@*****.**", url="https://hep.caltech.edu", download_url="https://github.com/sdn-sense/siterm/tarball/0.1", keywords=['DTN-RM', 'system', 'monitor', 'SDN', 'end-to-end'], package_dir={'': 'src/python/'}, packages=['SiteFE', 'DTNRMLibs'] + list_packages(['src/python/SiteFE/', 'src/python/DTNRMLibs/']), install_requires=[ 'pyparsing', 'rdflib', 'importlib', 'setuptools', 'future', 'simplejson', 'mod-wsgi', 'prometheus-client', 'python-dateutil', 'pyaml', 'requests', 'pycurl', 'pyOpenSSL', 'mariadb==1.0.8', 'cryptography==3.2.1', 'wheel' ], data_files=[ ("/var/www/wsgi-scripts/", ["packaging/dtnrm-site-fe/sitefe.wsgi"]), ("/etc/httpd/conf.d/", [ "packaging/dtnrm-site-fe/sitefe-httpd.conf", "packaging/dtnrm-site-fe/welcome.conf" ]), ("/etc/cron.d/", ["packaging/dtnrm-site-fe/siterm-crons"]), ("/etc/cron-scripts/", [ "packaging/general/siterm-ca-cron.sh", "packaging/general/siterm-autoupdate.py" ]) ] + get_web_files(), py_modules=get_py_modules(['src/python/SiteFE/', 'src/python/DTNRMLibs']), scripts=SCRIPTS)
#!/usr/bin/python import os from distutils.core import setup from setupUtilities import list_packages, get_py_modules CONFIG = [('/etc/', ['packaging/t2_maitenance.conf'])] if os.path.isfile('/etc/t2_maitenance.conf'): CONFIG = [] setup(name='t2Mon', version='0.1', description='T2 Monitoring scripts', author='Justas Balcas', author_email='*****@*****.**', url='https://github.com/jbalcas/T2_SCRIPTS', packages=['t2Mon'] + list_packages(['src/python/t2Mon/']), py_modules=get_py_modules(['src/python/t2Mon']), install_requires=['potsdb'], package_dir={'': 'src/python/'}, data_files=CONFIG, scripts=[ "src/executors/namenode-mon", "src/executors/gridftp-mon", "src/executors/xrootd-mon", "src/executors/hdfs-mailer", "src/executors/xcache-mon" ])
from setuptools import setup from setupUtilities import list_packages, get_py_modules from setupUtilities import getConfig, createDirs from setupUtilities import createAllDirsFromConfig CONFIG = None CONFIG_LOCATION = [] if os.path.isfile('/etc/dtnrm/main.conf'): CONFIG_LOCATION.append('/etc/dtnrm/main.conf') else: CONFIG_LOCATION.append('packaging/dtnrm-site-agent/dtnrmagent.conf') CONFIG = getConfig(CONFIG_LOCATION) MAINDIR = CONFIG.get('general', 'private_dir') createAllDirsFromConfig(CONFIG, MAINDIR) RAWCONFIGS = "%s/%s/" % (MAINDIR, "rawConfigs") createDirs(RAWCONFIGS) setup(name='DTNRMPrint', version="0.1", long_description="DTN-RM Additional Plugins", author="Justas Balcas", author_email="*****@*****.**", url="http://hep.caltech.edu", download_url="https://github.com/sdn-sense/dtnrm-empty-plugin", keywords=['DTN-RM', 'system', 'monitor', 'SDN', 'end-to-end'], package_dir={'': 'src/python/'}, packages=['DTNRMPrint'] + list_packages(['src/python/DTNRMPrint/']), py_modules=get_py_modules(['src/python/DTNRMPrint']), scripts=["packaging/dtnrm-site-agent/centos7/dtnrm-print-plugin"])