-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (49 loc) · 1.83 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
54
55
from setuptools import setup
version = "2.3"
setup(
name='easyinput',
packages=['easyinput'],
install_requires=['future>=0.17', 'enum34'],
version=version,
description='Easy functions to read input from Python',
long_description='Easy functions to read input from Python',
author='Jordi Petit et al',
author_email='[email protected]',
url='https://github.com/jutge-org/easyinput',
download_url='https://github.com/jutge-org/easyinput/tarball/{}'.format(version),
keywords=['easyinput', 'education', 'input'],
license='Apache',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Education',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'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 :: 3.8',
'Topic :: Education',
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
test_suite='test'
)
# Steps to distribute new version:
#
# Set new version in easyinput/__init__py and setup.py
# git commit -a
# git push
# git tag 1.12345 -m "Release 1.12345"
# git push --tags origin master
# python3 setup.py sdist bdist_wheel
# python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
#
# More docs:
# http://peterdowns.com/posts/first-time-with-pypi.html
# https://medium.com/@joel.barmettler/how-to-upload-your-python-package-to-pypi-65edc5fe9c56