-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
53 lines (45 loc) · 1.53 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/Users/leisen/anaconda3/bin/python3
# -*- coding: UTF-8 -*-
# ********************************************************
# * Author : LEI Sen
# * Email : sen.lei@outlook.com
# * Create time : 2018-11-30 11:53
# * Last modified : 2018-11-30 11:53
# * Filename : setup.py
# * Description :
# *********************************************************
import setuptools
import sys
import codecs
#from distutils.core import setup
version_number = input("Input the new version number you are going to use: ")
# Get the long description
with codecs.open('README.rst' ,'r') as f:
#long_description = '\n{}'.format(f.read())
long_description = f.read()
setuptools.setup(
#setup(
name="auto-pypi-setup",
version=version_number,
author="Sen LEI",
author_email="sen.lei@outlook.com",
description="A Python command line tool to automatically setup and upload your package to PyPi. ",
long_description=long_description,
long_description_content_type='text/x-rst',
url="https://github.com/Listen180/autopip",
packages=setuptools.find_packages(),
install_requires=[
'click',
],
license="BSD 3-clause",
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
keywords='python, package, pypi, shell, pip, clt, cli, tools, auto',
entry_points={'console_scripts': [
'autopypi = autopypi.autopypi:main',
]},
)