<commit_before>#!/usr/bin/env python
# -*-coding:utf-8-*-

import os
from setuptools import setup, find_packages
import pyskeleton

REQUIREMENTS = []
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
    long_description = f.read()

# +BEGIN_DELETE
# anditional to make  a tar.gz file
import tarfile

with tarfile.open("pyskeleton.tar.gz", "w:gz") as tar:
    for name in ["setup.py", "setup.cfg","LICENSE", "README.md", "requirements.txt",
                 "tests", "MANIFEST.in", ".gitignore"]:
        tar.add(name)

from pyskeleton.compat import replace

replace('pyskeleton.tar.gz', 'pyskeleton/pyskeleton.tar.gz')

# +END_DELETE


setup(
    name='pyskeleton',
    version=pyskeleton.__version__,
    description='quickly create a python module, have some other good concern.',
    url='https://github.com/a358003542/pyskeleton',
    long_description=long_description,
    long_description_content_type='text/markdown',
    author='wanze',
    author_email='<EMAIL>',
    maintainer='wanze',
    maintainer_email='<EMAIL>',
    license='MIT',
    platforms='Linux',
    keywords=['skeleton', 'python'],
    classifiers=['License :: OSI Approved :: MIT License',
                 'Operating System :: Microsoft',
                 'Operating System :: POSIX :: Linux',
                 'Programming Language :: Python :: 3'],
    packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
    include_package_data=True,
    setup_requires=REQUIREMENTS,
    install_requires=REQUIREMENTS,
    entry_points={
        'console_scripts': ['pyskeleton=pyskeleton.__main__:main', ],
    }
)<commit_msg>Using setup_requires is discouraged in favor of PEP-518<commit_after>#!/usr/bin/env python
# -*-coding:utf-8-*-

import os
from setuptools import setup, find_packages
import pyskeleton

REQUIREMENTS = []
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
    long_description = f.read()

# +BEGIN_DELETE
# anditional to make  a tar.gz file
import tarfile

with tarfile.open("pyskeleton.tar.gz", "w:gz") as tar:
    for name in ["setup.py", "setup.cfg","LICENSE", "README.md", "requirements.txt",
                 "tests", "MANIFEST.in", ".gitignore"]:
        tar.add(name)

from pyskeleton.compat import replace

replace('pyskeleton.tar.gz', 'pyskeleton/pyskeleton.tar.gz')

# +END_DELETE


setup(
    name='pyskeleton',
    version=pyskeleton.__version__,
    description='quickly create a python module, have some other good concern.',
    url='https://github.com/a358003542/pyskeleton',
    long_description=long_description,
    long_description_content_type='text/markdown',
    author='wanze',
    author_email='<EMAIL>',
    maintainer='wanze',
    maintainer_email='<EMAIL>',
    license='MIT',
    platforms='Linux',
    keywords=['skeleton', 'python'],
    classifiers=['License :: OSI Approved :: MIT License',
                 'Operating System :: Microsoft',
                 'Operating System :: POSIX :: Linux',
                 'Programming Language :: Python :: 3'],
    packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
    include_package_data=True,
    install_requires=REQUIREMENTS,
    entry_points={
        'console_scripts': ['pyskeleton=pyskeleton.__main__:main', ],
    }
)
{'fraction_non_alphanumeric': 0.14680788467196235, 'fraction_numerical': 0.00794351279788173, 'mean_word_length': 3.8850574712643677, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4340700', 'n_tokens_mistral': 1131, 'n_tokens_neox': 1076, 'n_words': 214}