Created
April 4, 2015 15:53
-
-
Save JanneSalokoski/ab7e2868b11bb7216fcf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
try: | |
from setuptools import setup | |
except ImportError: | |
from distutils.core import setup | |
config = { | |
'description': 'My Priject', | |
'author': 'Roman Fedoruk', | |
'url': '', | |
'download_url': '', | |
'author_email': '', | |
'version': '', | |
'install_requires': '', | |
'packages': ['NAME'], | |
'scripts': [], | |
'name': 'projectname' | |
} | |
setup(**config) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./main.py | |
usage: main.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] | |
or: main.py --help [cmd1 cmd2 ...] | |
or: main.py --help-commands | |
or: main.py cmd --help | |
error: no commands supplied | |
$ ./main.py --help | |
Common commands: (see '--help-commands' for more) | |
setup.py build will build the package underneath 'build/' | |
setup.py install will install the package | |
Global options: | |
--verbose (-v) run verbosely (default) | |
--quiet (-q) run quietly (turns verbosity off) | |
--dry-run (-n) don't actually do anything | |
--help (-h) show detailed help message | |
--no-user-cfg ignore pydistutils.cfg in your home directory | |
--command-packages list of packages that provide distutils commands | |
Information display options (just display information, ignore any commands) | |
--help-commands list all available commands | |
--name print package name | |
--version (-V) print package version | |
--fullname print <package name>-<version> | |
--author print the author's name | |
--author-email print the author's email address | |
--maintainer print the maintainer's name | |
--maintainer-email print the maintainer's email address | |
--contact print the maintainer's name if known, else the author's | |
--contact-email print the maintainer's email address if known, else the | |
author's | |
--url print the URL for this package | |
--license print the license of the package | |
--licence alias for --license | |
--description print the package description | |
--long-description print the long package description | |
--platforms print the list of platforms | |
--classifiers print the list of classifiers | |
--keywords print the list of keywords | |
--provides print the list of packages/modules provided | |
--requires print the list of packages/modules required | |
--obsoletes print the list of packages/modules made obsolete | |
usage: main.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] | |
or: main.py --help [cmd1 cmd2 ...] | |
or: main.py --help-commands | |
or: main.py cmd --help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment