Skip to content

Commit

Permalink
Merge pull request conda-archive#361 from jakirkham/add_glances
Browse files Browse the repository at this point in the history
glances: Provides a nice `top`-like tool in pure Python
  • Loading branch information
groutr committed Oct 6, 2015
2 parents cf4577b + 427f573 commit b2d0732
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
8 changes: 8 additions & 0 deletions glances/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"%PYTHON%" setup.py install
if errorlevel 1 exit 1

:: Add more build steps here, if they are necessary.

:: See
:: http://docs.continuum.io/conda/build.html
:: for a list of environment variables that are set during the build process.
9 changes: 9 additions & 0 deletions glances/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

$PYTHON setup.py install

# Add more build steps here, if they are necessary.

# See
# http://docs.continuum.io/conda/build.html
# for a list of environment variables that are set during the build process.
65 changes: 65 additions & 0 deletions glances/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
package:
name: glances
version: "2.5"

source:
fn: Glances-2.5.tar.gz
url: https://pypi.python.org/packages/source/G/Glances/Glances-2.5.tar.gz
md5: 70a7825a7b32048885f18ad3f8500294
# patches:
# List any patch files here
# - fix.patch

build:
# noarch_python: True
# preserve_egg_dir: True
entry_points:
# Put any entry points (scripts to be generated automatically) here. The
# syntax is module:function. For example
#
# - glances = glances:main
#
# Would create an entry point called glances that calls glances.main()

- glances=glances:main

# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
# number: 1

requirements:
build:
- python
- setuptools
- psutil >=2.0.0

run:
- python
- psutil >=2.0.0

test:
# Python imports
imports:
- glances

commands:
# You can put test commands to be run here. Use this to test that the
# entry points work.

- glances --help

# You can also put a file called run_test.py in the recipe that will be run
# at test time.

# requires:
# Put any additional test requirements here. For example
# - nose

about:
home: https://github.com/nicolargo/glances
license: GNU Lesser General Public License v3 (LGPLv3)
summary: 'A cross-platform curses-based monitoring tool'

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml

0 comments on commit b2d0732

Please sign in to comment.