|
@@ -1,53 +1,42 @@
|
|
|
#!/usr/bin/env python3
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
-import os
|
|
|
-import re
|
|
|
-import sys
|
|
|
+from setuptools import setup, find_packages
|
|
|
+from os import path
|
|
|
+from io import open
|
|
|
|
|
|
-from setuptools import setup
|
|
|
-from setuptools.command.test import test as TestCommand
|
|
|
-
|
|
|
-here = os.path.abspath(os.path.dirname(__file__))
|
|
|
-
|
|
|
-packages = ['acme']
|
|
|
-
|
|
|
-requires = [
|
|
|
-]
|
|
|
-
|
|
|
-about = {}
|
|
|
-with open(os.path.join(here, 'acme', '__version__.py'), 'r') as f:
|
|
|
- exec(f.read(), about)
|
|
|
+with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'),
|
|
|
+ encoding='utf-8') as f:
|
|
|
+ long_description = f.read()
|
|
|
|
|
|
setup(
|
|
|
- name=about['__title__'],
|
|
|
- version=about['__version__'],
|
|
|
- description=about['__description__'],
|
|
|
- author=about['__author__'],
|
|
|
- author_email=about['__author_email__'],
|
|
|
- url=about['__url__'],
|
|
|
- packages=packages,
|
|
|
- package_data={'': ['LICENSE', 'NOTICE']},
|
|
|
- package_dir={'acme': 'acme'},
|
|
|
- include_package_data=True,
|
|
|
- python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
|
|
|
- install_requires=requires,
|
|
|
- license=about['__license__'],
|
|
|
- zip_safe=False,
|
|
|
+ # Basic project information
|
|
|
+ name='python3-boilerplate',
|
|
|
+ version='0.0.1',
|
|
|
+ # Authorship and online reference
|
|
|
+ author='Basti Tee',
|
|
|
+ author_email='basti.tee@posteo.de',
|
|
|
+ url='https://github.com/BastiTee/python3-boilerplate',
|
|
|
+ # Detailled description
|
|
|
+ description='Python3 boilerplate module.',
|
|
|
+ long_description=long_description,
|
|
|
+ long_description_content_type='text/markdown',
|
|
|
+ keywords='sample setuptools development',
|
|
|
classifiers=[
|
|
|
- 'Development Status :: 5 - Production/Stable',
|
|
|
+ 'Development Status :: 4 - Beta',
|
|
|
'Intended Audience :: Developers',
|
|
|
'Natural Language :: English',
|
|
|
'License :: OSI Approved :: Apache Software License',
|
|
|
'Programming Language :: Python',
|
|
|
- 'Programming Language :: Python :: 2',
|
|
|
- 'Programming Language :: Python :: 2.7',
|
|
|
- 'Programming Language :: Python :: 3',
|
|
|
- 'Programming Language :: Python :: 3.4',
|
|
|
- 'Programming Language :: Python :: 3.5',
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
'Programming Language :: Python :: 3.7',
|
|
|
- 'Programming Language :: Python :: Implementation :: CPython',
|
|
|
- 'Programming Language :: Python :: Implementation :: PyPy'
|
|
|
],
|
|
|
+ # Package configuration
|
|
|
+ packages=find_packages(exclude=("tests",)),
|
|
|
+ include_package_data=True,
|
|
|
+ python_requires=">=3.6",
|
|
|
+ install_requires=[],
|
|
|
+ # Licensing and copyright
|
|
|
+ license='Apache 2.0',
|
|
|
+ copyright='Copyright 2019 basti.tee',
|
|
|
)
|