Hi
I recently created my first pypi package (trespass). I can use pip install trespass and it pulls the dependencies, creates the /usr/lib/python3.6/site-packages/trespass directory and python /usr/lib/python3.6/site-packages/trespass/trespass.py runs correctly. What I seem to be missing is how do I install trespass to /usr/bin? I looked at a few example setup.py files but I can't see where I messed up.
Here are my setup.py file and setup.cfg files
I recently created my first pypi package (trespass). I can use pip install trespass and it pulls the dependencies, creates the /usr/lib/python3.6/site-packages/trespass directory and python /usr/lib/python3.6/site-packages/trespass/trespass.py runs correctly. What I seem to be missing is how do I install trespass to /usr/bin? I looked at a few example setup.py files but I can't see where I messed up.
Here are my setup.py file and setup.cfg files
Quote:from distutils.core import setup
setup(
name = 'trespass',
packages = ['trespass'], # this must be the same as the name above
install_requires=[
'numpy',
'pygpgme',
'pyperclip',
'argparse',
],
version = '0.6.5.1',
description = 'A secure password keeper',
author = 'Graham Smith',
author_email = '[email protected]',
license='GPL3',
url = 'https://github.com/gps1539/trespass', # use the URL to the github repo
download_url = 'https://github.com/gps1539/trespass/archive/0.1.tar.gz',
keywords = ['testing', 'logging', 'example'], # arbitrary keywords
classifiers = [],
)
Quote:[metadata]
description-file = README.md