Skip to content

Instantly share code, notes, and snippets.

@danishabdullah
Last active February 6, 2020 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save danishabdullah/5ad6ada27ad47e3ad7e0a4d3d5868b6e to your computer and use it in GitHub Desktop.
Save danishabdullah/5ad6ada27ad47e3ad7e0a4d3d5868b6e to your computer and use it in GitHub Desktop.
Pycharm Setup.py Template
from __future__ import print_function, unicode_literals
from setuptools import setup, find_packages
$Import
__author__ = "$USER"
with open("requirements.txt", 'r') as file:
requirements = file.readlines()
with open("readme.md", 'r') as file:
readme = file.read()
with open("LICENSE", 'r') as file:
license = file.read()
setup(
name='$Package_name',
version='$Version',
packages=find_packages(),
url='https://github.com/danishabdullah/$Package_name',
install_requires=requirements,
license=license,
zip_safe=False,
keywords='$Package_name ',
author='Danish Abdullah',
author_email='dev@danishabdullah.com',
description='$Package_name',
package_data={
'': ['requirements.txt', 'readme.md', 'LICENSE']
},
entry_points={
'console_scripts': ['$Package_name=$Package_name.scripts.cli:cli']
},
long_description=readme,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment