1- from distutils .core import setup
2- setup (
3- name = 'coderunner' , # How you named your package folder (MyLib)
4- packages = ['coderunner' ], # Chose the same as "name"
5- version = '0.1' , # Start with a small number and increase it with every change you make
6- license = 'MIT' , # Chose a license from here: https://help.github.com/articles/licensing-a-repository
7- description = 'Judge0 API Interface written in Python' , # Give a short description about your library
8- author = 'Bhupesh Varshey' , # Type in your name
9- author_email = '[email protected] ' ,
# Type in your E-Mail 10- url = 'https://github.com/codeclassroom/CodeRunner' , # Provide either the link to your github or to your website
11- download_url = 'https://github.com/codeclassroom/CodeRunner/archive/v0.1.tar.gz' , # I explain this later on
12- keywords = ['Judge0 API' , 'code runner' , 'codeclassroom' ], # Keywords that define your package best
13- install_requires = [ # I get to this in a second
14- 'requests' ,
15- ],
16- classifiers = [
17- 'Development Status :: 3 - Alpha' , # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
18- 'Intended Audience :: Developers' , # Define that your audience are developers
19- 'Topic :: Software Development :: Build Tools' ,
20- 'License :: OSI Approved :: MIT License' , # Again, pick a license
21- 'Programming Language :: Python :: 3' , #Specify which pyhton versions that you want to support
22- 'Programming Language :: Python :: 3.4' ,
23- 'Programming Language :: Python :: 3.5' ,
24- 'Programming Language :: Python :: 3.6' ,
25- ],
1+ import setuptools
2+
3+ with open ("README.md" , "r" ) as fh :
4+ long_description = fh .read ()
5+
6+ setuptools .setup (
7+ name = "coderunner" ,
8+ version = "0.2" ,
9+ author = "Bhupesh Varshey" ,
10+ 11+ description = "Judge0 API Interface written in Python" ,
12+ long_description = long_description ,
13+ long_description_content_type = "text/markdown" ,
14+ url = "https://github.com/codeclassroom/CodeRunner" ,
15+ packages = setuptools .find_packages (),
16+ classifiers = [
17+ "Programming Language :: Python :: 3" ,
18+ "License :: OSI Approved :: MIT License" ,
19+ 'Topic :: Software Development :: Build Tools' ,
20+ "Operating System :: OS Independent" ,
21+ ],
22+ python_requires = '>=3.6' ,
2623)
0 commit comments