Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@brutus

brutus/setup.py Secret

Created April 10, 2014 12:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brutus/e4bdb1d2c1705558b2ff to your computer and use it in GitHub Desktop.
Save brutus/e4bdb1d2c1705558b2ff to your computer and use it in GitHub Desktop.
from setuptools import setup
from mypackage import __version__ as version
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='Some witty name',
version=version,
description='Short description',
long_description=long_description,
author='That guy',
author_email='thatguy@some.com',
url='https://one.tld/to/witty-name/',
license='GPLv3',
packages=['mypackage'],
data_files=[
('share/icons/hicolor/scalable/apps', ['data/mypackage.svg']),
('share/applications', ['data/mypackage.desktop'])
],
entry_points={
'console_scripts': [
'startit=mypackage.cli:run',
],
},
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment