Skip to content

Commit

Permalink
add more configuration to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
srsudar committed Apr 14, 2015
1 parent 52b5795 commit 542f7be
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
3 changes: 2 additions & 1 deletion eg/eg_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# The file name suffix expected for example files.
EXAMPLE_FILE_SUFFIX = '.md'

# Version of eg, revved with each update.
# Version of eg itself.
# Also bump in setup.py.
VERSION = '0.0.1'

# Flags for showing where the examples for commands are coming from.
Expand Down
20 changes: 11 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,22 @@
except ImportError:
from distutils.core import setup

# Also bump at eg.eg_util.VERSION
VERSION = '0.0.1'

# The version here must match the version in the code itself. Currently they
# have to be updated in both places.
config = {
'name': 'eg',
'description': 'Examples at the command line',
'author': 'Sam Sudar',
'url': 'https://github.com/srsudar/eg',
'author_email': '[email protected]',
'version': '0.0.1',
'install_requires': [
'colorama'
],
'packages': [
'eg'
],
'scripts': [],
'name': 'eg'
'version': VERSION,
'install_requires': ['colorama'],
'packages': ['eg'],
'scripts': ['eg/eg.py'],
'data_files': ['eg/data/*']
}

setup(**config)

0 comments on commit 542f7be

Please sign in to comment.