-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
22 lines (21 loc) · 1.03 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import os, glob
from setuptools import setup, find_packages
package_name = os.path.basename(os.path.dirname(__file__))
package_name_importable = package_name.replace('-','_')
with open(glob.glob('README*')[0]) as f:
long_description = f.read()
setup(
author = 'M B',
description = "interactive filesystem path selector TUI",
entry_points = {'console_scripts': [f'{package_name}={package_name}.__main__:main']},
include_package_data = True, # include everything in source control
license = 'GPLv3',
long_description = long_description,
name = package_name,
package_data = { '': ['*.ini'] },
package_dir = { package_name_importable: 'src' },
packages = [ package_name_importable + package.partition('src')[2]
for package in find_packages() ],
url = 'https://github.com/m-bartlett/pathpick.git',
version = os.getenv('PATHPICK_VERSION', '0.0.1'),
)