Skip to content

Instantly share code, notes, and snippets.

@sailist
Created August 1, 2019 02:56
Show Gist options
  • Save sailist/88d21ac78f5a863a8a73b51c3dd43068 to your computer and use it in GitHub Desktop.
Save sailist/88d21ac78f5a863a8a73b51c3dd43068 to your computer and use it in GitHub Desktop.
quick_build_pip_templet
python setup.py sdist bdist_wheel
SET CountI=0
SET BakDir="./dist/"
for /f %%a in ('dir %BakDir% /a:-d /B /o:-D') do (
rem echo %%a
SET FileName=%%a
SET CountI=CountI+1
rem echo %CountI%
if %CountI% == 0 goto bakup2
)
:bakup2
pip install %BakDir%%FileName%
twine upload --skip-existing dist/*
from setuptools import setup,find_packages
setup(
name='TODO',
version='0.6.4.dev1',
description='convert markdown 2 latex code perfactly,support Chinese Language',
url='TODO',
author='TODO',
author_email='TODO',
license='MIT',
include_package_data = True,
install_requires = [
"TODO",
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='TODO',
packages=find_packages(),
entry_points={
'console_scripts':[
'TODO = packagepath.pythonfilename:main'
]
},
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment