Skip to content

Commit

Permalink
chore(setup): Update to setuptools #27
Browse files Browse the repository at this point in the history
Change the setup.py file to use setuptools instead of distutils.
Added find_packages() into setup.py.
Added a docstring to setup.py.

closes #27
  • Loading branch information
imAsparky committed Sep 2, 2021
1 parent febf3ed commit c0d3b0d
Showing 1 changed file with 30 additions and 24 deletions.
54 changes: 30 additions & 24 deletions setup.py
@@ -1,30 +1,36 @@
# !/usr/bin/env python
"""Setup for cookiecutter-py3-package"""

from setuptools import find_packages, setup

from distutils.core import setup
setup(
name='cookiecutter-pypackage',
packages=[],
version='0.1.0',
description='Cookiecutter template for a Python package',
author='Audrey Roy Greenfeld',
license='BSD',
author_email='aroy@alum.mit.edu',
url='https://github.com/audreyr/cookiecutter-pypackage',
keywords=['cookiecutter', 'template', 'package', ],
python_requires='>=3.6',
name="cookiecutter-pypackage",
packages=find_packages(exclude=("tests*", "testing*")),
version="0.1.0",
description="Cookiecutter template for a Python package",
author="Audrey Roy Greenfeld",
license="BSD",
author_email="aroy@alum.mit.edu",
url="https://github.com/audreyr/cookiecutter-pypackage",
keywords=[
"cookiecutter",
"template",
"package",
],
python_requires=">=3.6",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development',
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development",
],
)

0 comments on commit c0d3b0d

Please sign in to comment.