Skip to content

"pytz" module as a Package Control dependency

Notifications You must be signed in to change notification settings

packagecontrol/pytz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pytz module for Package Control

Build Status

This is the pytz module bundled for usage with Package Control 3.0 (superseded by pypi releases for 4.0), a package manager for the Sublime Text text editor.

this repo pypi
latest tag pypi

How to use pytz as a dependency

In order to tell Package Control that you are using the pytz module in your ST package, create a dependencies.json file in your package root with the following contents:

{
   "*": {
      "*": [
         "pytz"
      ]
   }
}

If the file exists already, add "pytz" to the every dependency list.

Then run the Package Control: Satisfy Dependencies command to make Package Control install the module for you locally (if you don't have it already).

After all this you can use import pytz in any of your Python plugins.

See also: Documentation on Dependencies

How to update this repository (for contributors)

  1. Download the latest tarball from pypi.
  2. Delete everything inside the all/ folder.
  3. Copy the pytz/ folder, README.txt and everything related to copyright/licensing from the tarball to the all/ folder.
  4. Commit changes and either create a pull request or create a tag directly in the format v<version> (in case you have push access). This must be a semantic version, so append .0.

License

The contents of the root folder in this repository are released under the public domain. The contents of the all/ folder fall under their own bundled licenses.

About

"pytz" module as a Package Control dependency

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages