Skip to content

Instantly share code, notes, and snippets.

View ThatXliner's full-sized avatar
:atom:
Long live Atom

ThatXliner ThatXliner

:atom:
Long live Atom
View GitHub Profile
@ThatXliner
ThatXliner / setup.py
Created July 30, 2020 21:47
The slightly processed setup.py in stacksearch v1.2.11
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""To setup."""
from pathlib import Path
from setuptools import setup, find_packages
from stacksearch import __version__
# The directory containing this file
HERE = Path(__file__).parent
@ThatXliner
ThatXliner / minimal_setup.py
Created July 30, 2020 21:37
A minimal example of a setup.py
from setuptools import setup
setup(
name="my_package", # Or some other name that isn't taken on pypi.org
version="0.1.0", # Or whatever versioning scheme you prefer
description='A description',
author='John Doe',
author_email='[email protected]',
packages=["package_folder"],
license='MIT', # Or your license
)