Skip to content

Commit

Permalink
TASK: Add version file for easy trackable version changes
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Oct 25, 2018
1 parent 8f13da1 commit 5ad80c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions pastepwn/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.8
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages

packages = find_packages(exclude=['tests*'])
Expand All @@ -19,9 +20,12 @@ def requirements():
with open("README.md", "r", encoding="utf-8") as file:
readme = file.read()

version_file = os.path.join('pastepwn', 'version.txt')
with open(version_file, "r", encoding="utf-8") as file:
version = file.readline()

setup(name='pastepwn',
version='1.0.8',
version=version,
install_requires=requirements(),
keywords='python pastebin scraping osint framework',
description='Python framework to scrape PasteBin pastes and analyze them',
Expand Down

0 comments on commit 5ad80c1

Please sign in to comment.