-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (22 loc) · 674 Bytes
/
Copy pathsetup.py
File metadata and controls
28 lines (22 loc) · 674 Bytes
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
#! /usr/bin/python3
from distutils.core import setup
import os
from os import path
def find_packages():
out = []
for entry in os.scandir():
if entry.is_dir():
if entry.name.find('test') == -1:
init = path.join(entry.path, '__init__.py')
if path.isfile(init):
out.append(entry.name)
return out
setup(name='magictag.py',
version='0.1',
description='Easly create new git tags',
author='Filippo Ranza',
author_email='filipporanza@gmail.com',
url='https://github.com/FilippoRanza/magictag',
packages=find_packages(),
scripts=['magictag.py']
)