Skip to content

Instantly share code, notes, and snippets.

@staplerfahrer
Forked from innovia/setup.py
Last active December 17, 2020 14:59
Show Gist options
  • Select an option

  • Save staplerfahrer/7d4637741e8ef8d6c44c4f245ebc88a9 to your computer and use it in GitHub Desktop.

Select an option

Save staplerfahrer/7d4637741e8ef8d6c44c4f245ebc88a9 to your computer and use it in GitHub Desktop.
Packaging a Python app for offline deployment - setup.py
from setuptools import find_packages, setup
from package import Package
setup(
name='packagename',
url='http://example.com/packagename'
author='Author Name',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
cmdclass={
"package": Package
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment