rht 
								
							 
						 
						
							
							
							
							
								
							
							
								c1fb086677 
								
							 
						 
						
							
							
								
								Squash py3_requirements.txt into requirements.txt.  
							
							
							
						 
						
							2020-04-03 08:18:08 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kushal Kothari 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f253819a58 
								
							 
						 
						
							
							
								
								provision: Fix a typo in virtualenv instruction.  
							
							
							
						 
						
							2020-03-03 22:39:28 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zev Benjamin 
								
							 
						 
						
							
							
							
							
								
							
							
								df04e4e1ca 
								
							 
						 
						
							
							
								
								Fix tools/provision on OS X.  
							
							... 
							
							
							
							See the comment for details. 
							
						 
						
							2018-11-29 20:18:28 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ujjwal Raizada 
								
							 
						 
						
							
							
							
							
								
							
							
								e769735108 
								
							 
						 
						
							
							
								
								provision: Fix version tuple generation logic.  
							
							... 
							
							
							
							Previous tuple generation logic was throwing an error parsing version like 3.6.7rc1
because micro-versions (like '7rc1') cannot be converted into an integer.
Fixes  #482 . 
							
						 
						
							2018-10-31 16:32:56 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eeshan Garg 
								
							 
						 
						
							
							
							
							
								
							
							
								e7e9059cb8 
								
							 
						 
						
							
							
								
								zulip_bots: Move installation of bot deps to tools/provision.  
							
							... 
							
							
							
							A lot of these bot dependencies are pretty hefty and shouldn't be
installed as part of the zulip_bots package. So the installation of
these belongs in tools/provision, not in setup.py. 
							
						 
						
							2018-06-04 20:01:53 -02:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Abbott 
								
							 
						 
						
							
							
							
							
								
							
							
								d14a025ff9 
								
							 
						 
						
							
							
								
								provision: Make the source line stand out more.  
							
							
							
						 
						
							2018-05-29 11:32:45 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									dkvasov 
								
							 
						 
						
							
							
							
							
								
							
							
								b119d67182 
								
							 
						 
						
							
							
								
								tools/provision: Use python3 because python2 doesn't work.  
							
							
							
						 
						
							2018-05-16 10:50:43 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Steve Howell 
								
							 
						 
						
							
							
							
							
								
							
							
								25820c9bb2 
								
							 
						 
						
							
							
								
								provision: Do not even suggest the --force option.  
							
							... 
							
							
							
							Suggesting to users that they use '--force' during provision
is just asking for trouble.  We will probably want to deprecate
that altogether soon. 
							
						 
						
							2018-01-19 07:50:40 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eeshan Garg 
								
							 
						 
						
							
							
							
							
								
							
							
								e20b754498 
								
							 
						 
						
							
							
								
								zulip_bots: Use package_data instead of MANIFEST.in.  
							
							... 
							
							
							
							This commit removes generate_manifest.py and package data files
are now included using the package_data kwarg to setup().
This is because, in certain situations, MANIFEST.in is a bit
finicky. For instance installing a package using:
python setup.py install
doesn't include files specified in MANIFEST.in, while using
pip install ./zulip_bots
does. package_data doesn't pose this problem, ergo it's better
for us. 
							
						 
						
							2018-01-08 18:28:50 -03:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Steve Howell 
								
							 
						 
						
							
							
							
							
								
							
							
								19c3792af5 
								
							 
						 
						
							
							
								
								tools/provision: Exit earlier for python2.  
							
							... 
							
							
							
							We really want to avoid confusing folks that just want
to work on bots in python3. 
							
						 
						
							2018-01-02 17:38:12 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robert Hönig 
								
							 
						 
						
							
							
							
							
								
							
							
								4ca11fdd67 
								
							 
						 
						
							
							
								
								Make venv creation with Python 2 harder.  
							
							... 
							
							
							
							Python 2 venvs can now only be created with
tools/provision --force. 
							
						 
						
							2017-11-30 02:07:55 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									derAnfaenger 
								
							 
						 
						
							
							
							
							
								
							
							
								c264f7ef12 
								
							 
						 
						
							
							
								
								provisioning: Enhance warning for Python 2.7.  
							
							... 
							
							
							
							Color-highlight the warning. Use print instead
of warnings.warn (this omits unnecessary debug info). 
							
						 
						
							2017-11-23 15:20:34 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									derAnfaenger 
								
							 
						 
						
							
							
							
							
								
							
							
								819d5f6ebe 
								
							 
						 
						
							
							
								
								provisioning: Fix real and venv Python version mixup.  
							
							
							
						 
						
							2017-11-23 15:20:34 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eeshan Garg 
								
							 
						 
						
							
							
							
							
								
							
							
								0a70a6b46f 
								
							 
						 
						
							
							
								
								test-static-analysis: Fix trailing whitespace errors.  
							
							
							
						 
						
							2017-11-10 19:24:59 -03:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eeshan Garg 
								
							 
						 
						
							
							
							
							
								
							
							
								0590671fc6 
								
							 
						 
						
							
							
								
								tools/provision: Support specifying path to Python interpreter.  
							
							
							
						 
						
							2017-11-10 17:42:38 -03:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Steve Howell 
								
							 
						 
						
							
							
							
							
								
							
							
								bad8dccef7 
								
							 
						 
						
							
							
								
								provision: Make instructions to source venv more obvious.  
							
							... 
							
							
							
							(This cleans up the print formatting a bit in tools/provision
and adds an explicit step in README.md.) 
							
						 
						
							2017-11-10 13:04:59 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eeshan Garg 
								
							 
						 
						
							
							
							
							
								
							
							
								07edd4aa9b 
								
							 
						 
						
							
							
								
								zulip_bots: Add custom command for generating MANIFEST.in.  
							
							... 
							
							
							
							We now have a custom command in zulip_bots/setup.py to generate
a MANIFEST.in. To generate a MANIFEST for a PyPA release, we
can now run:
python setup.py gen_manifest --release
To generate a non-release MANIFEST, we can run:
python setup.py gen_manifest
This allows us to automate the MANIFEST generation in our
release automation script. 
							
						 
						
							2017-10-05 12:01:37 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alena Volkova 
								
							 
						 
						
							
							
							
							
								
							
							
								c3a213269f 
								
							 
						 
						
							
							
								
								provision: Make sure the correct version of pip is installed.  
							
							... 
							
							
							
							pip 8.0+ is required to successfully run the script (otherwise, the prefix
option doesn't work). pip 9.0+ is installed because of the safety features. 
							
						 
						
							2017-09-29 16:00:01 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alena Volkova 
								
							 
						 
						
							
							
							
							
								
							
							
								e1def40edc 
								
							 
						 
						
							
							
								
								provision: Remove unnecessary imports.  
							
							
							
						 
						
							2017-09-29 15:58:00 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alena Volkova 
								
							 
						 
						
							
							
							
							
								
							
							
								21bc4778b0 
								
							 
						 
						
							
							
								
								provision: Give a clear error message when virtualenv is missing.  
							
							... 
							
							
							
							Without this tweak, running the script results in a vague "No such file or
directory" error if the virtualenv package is not installed. 
							
						 
						
							2017-09-29 15:57:23 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									derAnfaenger 
								
							 
						 
						
							
							
							
							
								
							
							
								123c49291a 
								
							 
						 
						
							
							
								
								provision: Don't fail on mypy install for Python 2.  
							
							
							
						 
						
							2017-09-15 13:24:35 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									derAnfaenger 
								
							 
						 
						
							
							
							
							
								
							
							
								20f01fec85 
								
							 
						 
						
							
							
								
								provision: Put venv activation path in quotes.  
							
							... 
							
							
							
							This makes the command work with Windows paths with spaces in them. 
							
						 
						
							2017-09-12 16:48:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									derAnfaenger 
								
							 
						 
						
							
							
							
							
								
							
							
								6aece20925 
								
							 
						 
						
							
							
								
								provision: Indent venv activation command.  
							
							
							
						 
						
							2017-09-12 16:47:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									derAnfaenger 
								
							 
						 
						
							
							
							
							
								
							
							
								ad1ff0c7bf 
								
							 
						 
						
							
							
								
								provision: Add color formatting to success output.  
							
							
							
						 
						
							2017-09-01 09:34:42 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Abbott 
								
							 
						 
						
							
							
							
							
								
							
							
								1c1286824f 
								
							 
						 
						
							
							
								
								provision: Use sys.version_info for Python version.  
							
							
							
						 
						
							2017-08-24 12:38:20 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Abbott 
								
							 
						 
						
							
							
							
							
								
							
							
								ed774fafcb 
								
							 
						 
						
							
							
								
								provision: Fix usage to not have line-wrapping issues.  
							
							
							
						 
						
							2017-08-24 12:38:14 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									derAnfaenger 
								
							 
						 
						
							
							
							
							
								
							
							
								0984eae9b5 
								
							 
						 
						
							
							
								
								provision: Rewrite in Python.  
							
							
							
						 
						
							2017-08-24 12:32:55 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									derAnfaenger 
								
							 
						 
						
							
							
							
							
								
							
							
								735943379f 
								
							 
						 
						
							
							
								
								provision: Add option to specify python version.  
							
							
							
						 
						
							2017-08-22 11:39:11 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									derAnfaenger 
								
							 
						 
						
							
							
							
							
								
							
							
								a4d6c4700f 
								
							 
						 
						
							
							
								
								provision: Refactor script variables and Windows support.  
							
							
							
						 
						
							2017-08-22 11:39:11 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Abbott 
								
							 
						 
						
							
							
							
							
								
							
							
								0eecf05226 
								
							 
						 
						
							
							
								
								provision: Fix detection of Windows.  
							
							
							
						 
						
							2017-08-17 10:47:49 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Abbott 
								
							 
						 
						
							
							
							
							
								
							
							
								2f7968e860 
								
							 
						 
						
							
							
								
								provision: Use 'cp -a' for copying requirements.txt.  
							
							... 
							
							
							
							It's generally best to preserve the metadata when copying files. 
							
						 
						
							2017-08-17 10:47:00 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Abbott 
								
							 
						 
						
							
							
							
							
								
							
							
								5e4c65f325 
								
							 
						 
						
							
							
								
								provision: Print out the command needed to activate venv.  
							
							
							
						 
						
							2017-08-17 10:46:36 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Abbott 
								
							 
						 
						
							
							
							
							
								
							
							
								a744fd9316 
								
							 
						 
						
							
							
								
								provision: Fix shell quoting and whitespace.  
							
							
							
						 
						
							2017-08-17 10:43:50 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Rohitt Vashishtha 
								
							 
						 
						
							
							
							
							
								
							
							
								3b95af3b63 
								
							 
						 
						
							
							
								
								tools: Add virtual-env path exception for CygWin.  
							
							
							
						 
						
							2017-08-17 10:43:50 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Rohitt Vashishtha 
								
							 
						 
						
							
							
							
							
								
							
							
								4cd580d4fe 
								
							 
						 
						
							
							
								
								tools: Diff with requirements.txt in tools/provision.  
							
							
							
						 
						
							2017-08-17 10:43:50 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eeshan Garg 
								
							 
						 
						
							
							
							
							
								
							
							
								f9655266df 
								
							 
						 
						
							
							
								
								python-zulip-api: Add tools/provision for setting up dev env.  
							
							
							
						 
						
							2017-08-17 10:39:00 -07:00